RunTask

Trait RunTask 

Source
pub trait RunTask {
    // Required method
    fn run(
        self: Box<Self>,
        id: WorkerId,
        task_receiver: TaskReceiver,
    ) -> TaskControlCommand;
}

Required Methods§

Source

fn run( self: Box<Self>, id: WorkerId, task_receiver: TaskReceiver, ) -> TaskControlCommand

Implementors§