Struct tikv_client::util::iter::FlatMapOk[][src]

pub struct FlatMapOk<U, F, Ti, E> {
    iter: Fuse<U>,
    frontiter: Option<Result<Ti, E>>,
    f: F,
}

Iterator for flat_map_ok.

Fields

iter: Fuse<U>frontiter: Option<Result<Ti, E>>f: F

Trait Implementations

impl<T: IntoIterator<IntoIter = Ti>, U: Iterator<Item = Result<I, E>>, F: FnMut(I) -> T, Ti: Iterator<Item = T::Item>, I, E> Iterator for FlatMapOk<U, F, Ti, E>[src]

type Item = Result<T::Item, E>

The type of the elements being iterated over.

Auto Trait Implementations

impl<U, F, Ti, E> RefUnwindSafe for FlatMapOk<U, F, Ti, E> where
    E: RefUnwindSafe,
    F: RefUnwindSafe,
    Ti: RefUnwindSafe,
    U: RefUnwindSafe

impl<U, F, Ti, E> Send for FlatMapOk<U, F, Ti, E> where
    E: Send,
    F: Send,
    Ti: Send,
    U: Send

impl<U, F, Ti, E> Sync for FlatMapOk<U, F, Ti, E> where
    E: Sync,
    F: Sync,
    Ti: Sync,
    U: Sync

impl<U, F, Ti, E> Unpin for FlatMapOk<U, F, Ti, E> where
    E: Unpin,
    F: Unpin,
    Ti: Unpin,
    U: Unpin

impl<U, F, Ti, E> UnwindSafe for FlatMapOk<U, F, Ti, E> where
    E: UnwindSafe,
    F: UnwindSafe,
    Ti: UnwindSafe,
    U: 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> Instrument for T[src]

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<I> IteratorRandom for I where
    I: Iterator
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]