Trait RunTask

Source
pub trait RunTask {
    // Required method
    fn run(&self, task: RunnableTask);
}
Expand description

Runs a given task to completion in a platform agnostic way. In multithreaded environments can be run concurrently and in single threaded environments will run on the same thread.

Required Methods§

Source

fn run(&self, task: RunnableTask)

Implementors§