[][src]Struct fst::map::StreamWithState

pub struct StreamWithState<'m, A = AlwaysMatch>(_)
where
    A: Automaton
;

A lexicographically ordered stream of key-value-state triples from a map and an automaton.

The key-values are from the map while the states are from the automaton.

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.

Trait Implementations

impl<'a, 'm, A: 'a + Automaton> Streamer<'a> for StreamWithState<'m, A> where
    A::State: Clone
[src]

type Item = (&'a [u8], u64, A::State)

The type of the item emitted by this stream.

Auto Trait Implementations

impl<'m, A> RefUnwindSafe for StreamWithState<'m, A> where
    A: RefUnwindSafe,
    <A as Automaton>::State: RefUnwindSafe

impl<'m, A> Send for StreamWithState<'m, A> where
    A: Send,
    <A as Automaton>::State: Send

impl<'m, A> Sync for StreamWithState<'m, A> where
    A: Sync,
    <A as Automaton>::State: Sync

impl<'m, A> Unpin for StreamWithState<'m, A> where
    A: Unpin,
    <A as Automaton>::State: Unpin

impl<'m, A> UnwindSafe for StreamWithState<'m, A> where
    A: UnwindSafe,
    <A as Automaton>::State: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.