[][src]Trait problem::FailedToIter

pub trait FailedToIter<O, E>: Sized {
    fn or_failed_to(
        self,
        msg: impl ToString
    ) -> ProblemIter<Self>; }

Convert Iterator of Result<O, E> to iterator of O and panic on first E with problem message

Required methods

Important traits for ProblemIter<I>
fn or_failed_to(
    self,
    msg: impl ToString
) -> ProblemIter<Self>

Loading content...

Implementors

impl<I, O, E> FailedToIter<O, E> for I where
    I: Iterator<Item = Result<O, E>>,
    E: Into<Problem>, 
[src]

Loading content...