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
type Item: 'a
[src]
The type of the item emitted by the stream.
type Into: Streamer<'a, Item = Self::Item>
[src]
The type of the stream to be constructed.
Required methods
fn into_stream(self) -> Self::Into
[src]
Construct a stream from Self
.
Implementors
impl<'a, 'f, A: 'a + Automaton> IntoStreamer<'a> for fst::raw::StreamWithStateBuilder<'f, A> where
A::State: Clone,
[src]
impl<'a, 'f, A: 'a + Automaton> IntoStreamer<'a> for fst::raw::StreamWithStateBuilder<'f, A> where
A::State: Clone,
[src]type Item = (&'a [u8], Output, A::State)
type Into = StreamWithState<'f, A>
fn into_stream(self) -> StreamWithState<'f, A>
[src]
impl<'a, 'f, A: Automaton> IntoStreamer<'a> for fst::raw::StreamBuilder<'f, A>
[src]
impl<'a, 'f, A: Automaton> IntoStreamer<'a> for fst::raw::StreamBuilder<'f, A>
[src]impl<'a, S: Streamer<'a>> IntoStreamer<'a> for S
[src]
impl<'a, S: Streamer<'a>> IntoStreamer<'a> for S
[src]impl<'m, 'a, A: 'a + Automaton> IntoStreamer<'a> for fst::map::StreamWithStateBuilder<'m, A> where
A::State: Clone,
[src]
impl<'m, 'a, A: 'a + Automaton> IntoStreamer<'a> for fst::map::StreamWithStateBuilder<'m, A> where
A::State: Clone,
[src]type Item = (&'a [u8], u64, A::State)
type Into = StreamWithState<'m, A>
fn into_stream(self) -> StreamWithState<'m, A>
[src]
impl<'m, 'a, A: Automaton> IntoStreamer<'a> for fst::map::StreamBuilder<'m, A>
[src]
impl<'m, 'a, A: Automaton> IntoStreamer<'a> for fst::map::StreamBuilder<'m, A>
[src]impl<'s, 'a, A: 'a + Automaton> IntoStreamer<'a> for fst::set::StreamWithStateBuilder<'s, A> where
A::State: Clone,
[src]
impl<'s, 'a, A: 'a + Automaton> IntoStreamer<'a> for fst::set::StreamWithStateBuilder<'s, A> where
A::State: Clone,
[src]type Item = (&'a [u8], A::State)
type Into = StreamWithState<'s, A>
fn into_stream(self) -> StreamWithState<'s, A>
[src]
impl<'s, 'a, A: Automaton> IntoStreamer<'a> for fst::set::StreamBuilder<'s, A>
[src]
impl<'s, 'a, A: Automaton> IntoStreamer<'a> for fst::set::StreamBuilder<'s, A>
[src]