pub trait TaskCollection<T>: TaskProvider + Sized {
// Required method
fn result(&self) -> T;
}Expand description
Represents a task that returns a result of the given type.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.