Skip to main content

ContentFuture

Type Alias ContentFuture 

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

A future produced by a content operation. It borrows the content it reads from, so no implementation has to clone a handle into every call.

Aliased Typeยง

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