pub trait ProcessorExt<T>: Processor<T>where
Self: 'static,
T: 'static,{
// Provided method
fn into_stream<S: Stream<Item = T>>(
self,
input_stream: S,
) -> ProcessorStream<Self, S, T>
where Self: Sized { ... }
}Expand description
Extension trait for Processor that provides convenient methods for Stream processing.
Provided Methods§
Sourcefn into_stream<S: Stream<Item = T>>(
self,
input_stream: S,
) -> ProcessorStream<Self, S, T>where
Self: Sized,
fn into_stream<S: Stream<Item = T>>(
self,
input_stream: S,
) -> ProcessorStream<Self, S, T>where
Self: Sized,
Converts this processor into a Stream that takes an input stream and yields the
processor’s output items.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.