pub trait IntoTask {
type Output;
type Task: Task<Output = Self::Output>;
// Required method
fn into_task(self) -> Self::Task;
}Expand description
Trait representing the conversion to a Task.
pub trait IntoTask {
type Output;
type Task: Task<Output = Self::Output>;
// Required method
fn into_task(self) -> Self::Task;
}Trait representing the conversion to a Task.