logo

Type Definition pasts::Task

source · []
pub type Task<'a, T> = Pin<Box<dyn Notifier<Event = T> + Send + 'a>>;
Expand description

An owned dynamically typed Notifier for use in cases where you can’t statically type your result or need to add some indirection.

Doesn’t work with one_alloc.