Trait fst::IntoStream [] [src]

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

IntoStream describes types that can be converted to streams.

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

Associated Types

type Item: 'a

type Into: Stream<'a, Item=Self::Item>

Required Methods

fn into_stream(self) -> Self::Into

Implementors