Skip to main content

SourceFuture

Type Alias SourceFuture 

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

A boxed, Send future returned by the async trait methods in this module — the same boxed-future async-trait shape decdn_bao_range::RangedStore and cache::Origin use, so a Funder can be held as &dyn Funder.

Aliased Type§

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