[][src]Struct tantivy_fst::raw::StreamWithState

pub struct StreamWithState<'f, A = AlwaysMatch> where
    A: Automaton
{ /* fields omitted */ }

A lexicographically ordered stream from an fst of key-value pairs along with the state of the automaton.

The A type parameter corresponds to an optional automaton to filter the stream. By default, no filtering is done.

The 'f lifetime parameter refers to the lifetime of the underlying fst.

Trait Implementations

impl<'f, A: Clone> Clone for StreamWithState<'f, A> where
    A: Automaton,
    A::State: Clone
[src]

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

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

The type of the item emitted by this stream.

Auto Trait Implementations

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

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

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

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

impl<'f, A> UnwindSafe for StreamWithState<'f, 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.