Trait swap::worker::Task

source ·
pub trait Task {
    // Required method
    fn execute(self);
}
Expand description

Task to run on the worker threads.

Required Methods§

source

fn execute(self)

Executes the task.

Implementors§