Skip to main content

ContentFuture

Type Alias ContentFuture 

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

Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. 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 */ }