Skip to main content

FetchFuture

Type Alias FetchFuture 

Source
pub type FetchFuture<'a> = Pin<Box<dyn Future<Output = Fetched> + Send + 'a>>;
Expand description

A future a Fetch implementation hands back, boxed so the trait stays object-safe and a reader can be held as Arc<dyn Fetch>.

Aliased Typeยง

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