[][src]Struct fallible_iterator::FlatMap

pub struct FlatMap<I, U, F> where
    U: IntoFallibleIterator
{ /* fields omitted */ }

An iterator which maps each element to another iterator, yielding those iterator's elements.

Trait Implementations

impl<I: Clone, U: Clone, F: Clone> Clone for FlatMap<I, U, F> where
    U: IntoFallibleIterator,
    U::IntoFallibleIter: Clone
[src]

impl<I: Debug, U: Debug, F: Debug> Debug for FlatMap<I, U, F> where
    U: IntoFallibleIterator,
    U::IntoFallibleIter: Debug
[src]

impl<I, U, F> FallibleIterator for FlatMap<I, U, F> where
    I: FallibleIterator,
    U: IntoFallibleIterator<Error = I::Error>,
    F: FnMut(I::Item) -> Result<U, I::Error>, 
[src]

type Item = U::Item

The type being iterated over.

type Error = U::Error

The error type.

Auto Trait Implementations

impl<I, U, F> RefUnwindSafe for FlatMap<I, U, F> where
    F: RefUnwindSafe,
    I: RefUnwindSafe,
    <U as IntoFallibleIterator>::IntoFallibleIter: RefUnwindSafe

impl<I, U, F> Send for FlatMap<I, U, F> where
    F: Send,
    I: Send,
    <U as IntoFallibleIterator>::IntoFallibleIter: Send

impl<I, U, F> Sync for FlatMap<I, U, F> where
    F: Sync,
    I: Sync,
    <U as IntoFallibleIterator>::IntoFallibleIter: Sync

impl<I, U, F> Unpin for FlatMap<I, U, F> where
    F: Unpin,
    I: Unpin,
    <U as IntoFallibleIterator>::IntoFallibleIter: Unpin

impl<I, U, F> UnwindSafe for FlatMap<I, U, F> where
    F: UnwindSafe,
    I: UnwindSafe,
    <U as IntoFallibleIterator>::IntoFallibleIter: 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<I> IntoFallibleIterator for I where
    I: FallibleIterator
[src]

type Item = <I as FallibleIterator>::Item

The elements of the iterator.

type Error = <I as FallibleIterator>::Error

The error value of the iterator.

type IntoFallibleIter = I

The iterator.

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.