Type Alias ResultStream

Source
pub type ResultStream<'a, T> = Pin<Box<dyn Stream<Item = Result<T, ExternalError>> + Send + 'a>>;
Expand description

A boxed stream, similar to what async_trait desugars async functions to, but hardcoded to our standard result type.

Aliased Typeยง

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