Trait fst::IntoStreamer

source ·
pub trait IntoStreamer<'a> {
    type Item: 'a;
    type Into: Streamer<'a, Item = Self::Item>;

    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

The type of the item emitted by the stream.

The type of the stream to be constructed.

Required Methods

Construct a stream from Self.

Implementors