Trait WaitForWorkFn

Source
pub trait WaitForWorkFn:
    Fn() -> Pin<Box<dyn Future<Output = ()> + Send + Sync>>
    + Send
    + Sync
    + 'static { }
Expand description

A trait alias. Read as “a function which returns a pinned box containing a future”

Implementors§

Source§

impl<T> WaitForWorkFn for T
where T: Fn() -> Pin<Box<dyn Future<Output = ()> + Send + Sync>> + Send + Sync + 'static,