Trait yatp::queue::WithExtras [−][src]
A convenient trait that support construct a TaskCell with given extras.
Required methods
fn with_extras(self, extras: impl FnOnce() -> Extras) -> T
[src]
Return a TaskCell with the given extras.
Implementors
impl<F> WithExtras<TaskCell> for F where
F: FnOnce(&mut Handle<'_>) + Send + 'static,
[src]
F: FnOnce(&mut Handle<'_>) + Send + 'static,
fn with_extras(self, extras: impl FnOnce() -> Extras) -> TaskCell
[src]
impl<F> WithExtras<TaskCell> for F where
F: Future<Output = ()> + Send + 'static,
[src]
F: Future<Output = ()> + Send + 'static,