Struct moore_common::grind::MapErrGrinder
source · [−]pub struct MapErrGrinder<T: Grinder, F, E> { /* private fields */ }
Trait Implementations
sourceimpl<T, E, F> Grinder for MapErrGrinder<T, F, E> where
T: Grinder,
F: Fn(E) -> T::Error,
impl<T, E, F> Grinder for MapErrGrinder<T, F, E> where
T: Grinder,
F: Fn(E) -> T::Error,
type Item = T::Item
type Error = E
fn next(&mut self) -> Self::Item
fn emit(&mut self, err: E)
fn vent<F, E>(self, f: F) -> Vent<Self, F, E> where
Self: Sized,
F: Fn(E),
fn unwrap(self) -> Unwrap<Self> where
Self: Sized,
fn map_err<F, E>(self, f: F) -> MapErrGrinder<Self, F, E> where
Self: Sized,
F: Fn(E) -> Self::Error,
fn peekable(self) -> Peekable<Self> where
Self: Sized,
fn lookaheadable(self) -> Lookahead<Self> where
Self: Sized,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: Fn(&<Self::Item as Chisel>::Value) -> bool,
Auto Trait Implementations
impl<T, F, E> RefUnwindSafe for MapErrGrinder<T, F, E> where
E: RefUnwindSafe,
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F, E> Send for MapErrGrinder<T, F, E> where
E: Send,
F: Send,
T: Send,
impl<T, F, E> Sync for MapErrGrinder<T, F, E> where
E: Sync,
F: Sync,
T: Sync,
impl<T, F, E> Unpin for MapErrGrinder<T, F, E> where
E: Unpin,
F: Unpin,
T: Unpin,
impl<T, F, E> UnwindSafe for MapErrGrinder<T, F, E> where
E: UnwindSafe,
F: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more