pub trait Output {
type Output;
type OutputStream: Stream<Item = Self::Output> + Send;
}Expand description
Trait for components that can produce output streams.
This trait defines the interface for components that generate data streams. It is implemented by producers and transformers that output data.
Required Associated Types§
Sourcetype OutputStream: Stream<Item = Self::Output> + Send
type OutputStream: Stream<Item = Self::Output> + Send
The output stream type that yields items of type Self::Output.