pub type Task<'a, T> = Pin<Box<dyn Notifier<Event = T> + Send + 'a>>;
An owned dynamically typed Notifier for use in cases where you can’t statically type your result or need to add some indirection.
Notifier
Doesn’t work with one_alloc.
one_alloc