Skip to main content

BoxedTask

Type Alias BoxedTask 

Source
pub type BoxedTask = Pin<Box<dyn Future<Output = ()> + Send>>;
Expand description

A piece of work handed to the executor: it runs to its end and gives nothing back.

Aliased Type§

#[repr(transparent)]
pub struct BoxedTask { /* private fields */ }