[][src]Struct fallible_iterator::Filter

pub struct Filter<I, F> { /* fields omitted */ }

An iterator which uses a fallible predicate to determine which values of the underlying iterator should be yielded.

Trait Implementations

impl<I: Clone, F: Clone> Clone for Filter<I, F>[src]

impl<I: Debug, F: Debug> Debug for Filter<I, F>[src]

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

impl<I, F> FallibleIterator for Filter<I, F> where
    I: FallibleIterator,
    F: FnMut(&I::Item) -> Result<bool, I::Error>, 
[src]

type Item = I::Item

The type being iterated over.

type Error = I::Error

The error type.

Auto Trait Implementations

impl<I, F> RefUnwindSafe for Filter<I, F> where
    F: RefUnwindSafe,
    I: RefUnwindSafe

impl<I, F> Send for Filter<I, F> where
    F: Send,
    I: Send

impl<I, F> Sync for Filter<I, F> where
    F: Sync,
    I: Sync

impl<I, F> Unpin for Filter<I, F> where
    F: Unpin,
    I: Unpin

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