[][src]Struct fallible_iterator::Map

pub struct Map<T, F> { /* fields omitted */ }

An iterator which applies a fallible transform to the elements of the underlying iterator.

Trait Implementations

impl<T: Clone, F: Clone> Clone for Map<T, F>[src]

impl<T: Debug, F: Debug> Debug for Map<T, F>[src]

impl<B, F, I> DoubleEndedFallibleIterator for Map<I, F> where
    I: DoubleEndedFallibleIterator,
    F: FnMut(I::Item) -> Result<B, I::Error>, 
[src]

impl<T, F, B> FallibleIterator for Map<T, F> where
    T: FallibleIterator,
    F: FnMut(T::Item) -> Result<B, T::Error>, 
[src]

type Item = B

The type being iterated over.

type Error = T::Error

The error type.

Auto Trait Implementations

impl<T, F> RefUnwindSafe for Map<T, F> where
    F: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, F> Send for Map<T, F> where
    F: Send,
    T: Send

impl<T, F> Sync for Map<T, F> where
    F: Sync,
    T: Sync

impl<T, F> Unpin for Map<T, F> where
    F: Unpin,
    T: Unpin

impl<T, F> UnwindSafe for Map<T, F> where
    F: UnwindSafe,
    T: 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.