Struct moore_common::grind::Unwrap
source · [−]pub struct Unwrap<T: Grinder> { /* private fields */ }
Trait Implementations
sourceimpl<I, E, C, T> Grinder for Unwrap<T> where
C: Chisel<Value = Result<I, E>>,
T: Grinder<Item = C, Error = E>,
impl<I, E, C, T> Grinder for Unwrap<T> where
C: Chisel<Value = Result<I, E>>,
T: Grinder<Item = C, Error = E>,
type Item = Option<I>
type Error = T::Error
fn emit(&mut self, err: E)
fn next(&mut self) -> Self::Item
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> RefUnwindSafe for Unwrap<T> where
T: RefUnwindSafe,
impl<T> Send for Unwrap<T> where
T: Send,
impl<T> Sync for Unwrap<T> where
T: Sync,
impl<T> Unpin for Unwrap<T> where
T: Unpin,
impl<T> UnwindSafe for Unwrap<T> where
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