Skip to main content

Task

Type Alias Task 

Source
pub type Task<'a, T> = Pin<Box<dyn Future<Output = T> + 'a>>;
Expand description

A boxed future borrowed from the test’s stack.

Aliased Type§

#[repr(transparent)]
pub struct Task<'a, T> { /* private fields */ }