TryIterator

Trait TryIterator 

Source
pub trait TryIterator: Iterator<Item = Result<Self::Ok, Self::Err>> + Sealed {
    type Ok;
    type Err;
}

Required Associated Types§

Source

type Ok

The type of successful values yielded by this iterator

Source

type Err

The type of failures yielded by this iterator

Implementors§

Source§

impl<I, O, E> TryIterator for I
where I: ?Sized + Iterator<Item = Result<O, E>>,

Source§

type Ok = O

Source§

type Err = E