pub trait Work<K, C> {
type Future: Future;
// Required method
fn start(&self, key: K, context: C) -> Self::Future;
}Expand description
Trait that creates a work future from a key and context.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".