Skip to main content

PinnedFuture

Type Alias PinnedFuture 

Source
type PinnedFuture<T> = Pin<Box<dyn Future<Output = T>>>;
Expand description

Shorthand for a boxed and pinned Future.

Aliased Typeยง

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