pub trait IntoStreamer<'a> {
type Item: 'a;
type Into: Streamer<'a, Item = Self::Item>;
// Required method
fn into_stream(self) -> Self::Into;
}Expand description
IntoStreamer describes types that can be converted to streams.
This is analogous to the IntoIterator trait for Iterator in
std::iter.
Required Associated Types§
Required Methods§
Sourcefn into_stream(self) -> Self::Into
fn into_stream(self) -> Self::Into
Construct a stream from Self.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".