Skip to main content

AsyncJob

Type Alias AsyncJob 

Source
pub type AsyncJob = Box<dyn FnOnce() + Send + 'static>;
Expand description

One owned closure submitted to an AsyncExecutor.

Aliased Typeยง

pub struct AsyncJob(/* private fields */);