Struct fst::map::Stream [−][src]
pub struct Stream<'m, A = AlwaysMatch>(_)
where
A: Automaton;
Expand description
A lexicographically ordered stream of key-value pairs from a map.
The A
type parameter corresponds to an optional automaton to filter
the stream. By default, no filtering is done.
The 'm
lifetime parameter refers to the lifetime of the underlying map.
Implementations
Convert this stream into a vector of byte strings and outputs.
Note that this creates a new allocation for every key in the stream.
Convert this stream into a vector of Unicode strings and outputs.
If any key is not valid UTF-8, then iteration on the stream is stopped and a UTF-8 decoding error is returned.
Note that this creates a new allocation for every key in the stream.
Convert this stream into a vector of byte strings.
Note that this creates a new allocation for every key in the stream.
Convert this stream into a vector of Unicode strings.
If any key is not valid UTF-8, then iteration on the stream is stopped and a UTF-8 decoding error is returned.
Note that this creates a new allocation for every key in the stream.
Convert this stream into a vector of outputs.
Trait Implementations
Auto Trait Implementations
impl<'m, A> RefUnwindSafe for Stream<'m, A> where
A: RefUnwindSafe,
<A as Automaton>::State: RefUnwindSafe,
impl<'m, A> UnwindSafe for Stream<'m, A> where
A: UnwindSafe,
<A as Automaton>::State: UnwindSafe,