pub type MediaFuture<'a> = Pin<Box<dyn Future<Output = Result<Vec<MediaBlockRequest>, String>> + Send + 'a>>;Expand description
The boxed future an AsyncMediaSource::produce returns.
Ok(blocks) replaces the buffer’s cached blocks; Err(reason) means
keep the prior cached set, never “clear”. A transient failure mid-edit
must not make every image in the document blink out.
Aliased Type§
pub struct MediaFuture<'a> { /* private fields */ }