Trait DispatchFunction

Source
pub trait DispatchFunction<P, R>:
    Fn(&P) -> R
    + 'static
    + Sync
    + Send
where P: Send + Sync + ?Sized,
{ }

Implementors§

Source§

impl<T, P, R> DispatchFunction<P, R> for T
where T: Fn(&P) -> R + 'static + Sync + Send, P: Send + Sync + ?Sized,