pub trait FailedToIter<O, E, M>: Sized {
// Required method
fn or_failed_to(self, message: M) -> ProblemIter<Self, M> ⓘ;
}
Expand description
Convert Iterator
of Result<O, E>
to iterator of O
and panic on first E
with problem message
Required Methods§
fn or_failed_to(self, message: M) -> ProblemIter<Self, M> ⓘ
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.