Trait syncbox::Task [] [src]

pub trait Task: Send + 'static {
    fn run(self);
}

A value that can run a unit of work.

Required Methods

fn run(self)

Run the unit of work

Implementors