Trait Dispatcher

Source
pub trait Dispatcher:
    'static
    + Send
    + Sync {
    // Required methods
    fn dispatch(&self, runnable: Runnable);
    fn dispatch_after(&self, duration: Duration, runnable: Runnable);
}

Required Methods§

Source

fn dispatch(&self, runnable: Runnable)

Source

fn dispatch_after(&self, duration: Duration, runnable: Runnable)

Implementors§