Skip to main content

TaskFuture

Type Alias TaskFuture 

Source
pub type TaskFuture = Pin<Box<dyn Future<Output = Result<()>> + Send + 'static>>;
Expand description

Boxed future type returned by long-running providers (server loops/background workers).

Aliased Typeยง

pub struct TaskFuture { /* private fields */ }