clementine_core::task

Trait IntoTask

Source
pub trait IntoTask {
    type Task: Task;

    // Required method
    fn into_task(self) -> Self::Task;
}
Expand description

A trait for objects that can be converted into a Task

Required Associated Types§

Required Methods§

Source

fn into_task(self) -> Self::Task

Convert self into a Task

Implementors§