pub trait Work<K, C> { type Future: Future; // Required method fn start(&self, key: K, context: C) -> Self::Future; }
Trait that creates a work future from a key and context.
The future that is executed by the WorkQueue.
Create a new Future to be executed by the WorkQueue.
Future