Skip to main content

StatsReaderSync

Trait StatsReaderSync 

Source
pub trait StatsReaderSync<Req, Res>:
    Fn(&BTreeMap<String, String>, (&Sender<Req>, &Receiver<Res>)) -> Result<Value>
    + Send
    + Sync { }

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Req, Res, T: Fn(&BTreeMap<String, String>, (&Sender<Req>, &Receiver<Res>)) -> Result<Value> + Send + Sync> StatsReaderSync<Req, Res> for T