Skip to main content

DetachedFuture

Type Alias DetachedFuture 

Source
pub type DetachedFuture<T> = Pin<Box<dyn Future<Output = Result<T, Error>> + Send>>;
Expand description

A boxed future that does not borrow the store that produced it.

Aliased Typeยง

#[repr(transparent)]
pub struct DetachedFuture<T> { /* private fields */ }