Trait fst::IntoStreamer [] [src]

pub trait IntoStreamer<'a> {
    type Item: 'a;
    type Into: Streamer<'a, Item = Self::Item>;
    fn into_stream(self) -> Self::Into;
}

IntoStreamer describes types that can be converted to streams.

This is analogous to the IntoIterator trait for Iterator in std::iter.

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