Trait TaskCallback

Source
pub trait TaskCallback:
    FnOnce(Status)
    + 'static
    + Send { }
Expand description

A marker trait for a callback that can be used with Dispatcher::post_task_sync.

Implementors§

Source§

impl<T> TaskCallback for T
where T: FnOnce(Status) + 'static + Send,