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