pub type DataStream<T> = Pin<Box<dyn Stream<Item = T> + Send>>;
Aliased Type§
pub struct DataStream<T> { /* private fields */ }
Trait Implementations§
Source§impl<T: Data> From<Pin<Box<dyn AsyncEngineStream<T, Item = T>>>> for DataStream<T>
impl<T: Data> From<Pin<Box<dyn AsyncEngineStream<T, Item = T>>>> for DataStream<T>
Source§fn from(stream: EngineStream<T>) -> Self
fn from(stream: EngineStream<T>) -> Self
Converts to this type from the input type.