Struct moore_common::grind::Vent
source · [−]pub struct Vent<T: Grinder, F, E> { /* private fields */ }
Trait Implementations
sourceimpl<T: Grinder, E, F> Grinder for Vent<T, F, E> where
F: Fn(E),
impl<T: Grinder, E, F> Grinder for Vent<T, F, E> where
F: Fn(E),
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 Vent<T, F, E> where
E: RefUnwindSafe,
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, F, E> Send for Vent<T, F, E> where
E: Send,
F: Send,
T: Send,
impl<T, F, E> Sync for Vent<T, F, E> where
E: Sync,
F: Sync,
T: Sync,
impl<T, F, E> Unpin for Vent<T, F, E> where
E: Unpin,
F: Unpin,
T: Unpin,
impl<T, F, E> UnwindSafe for Vent<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