[−][src]Struct market::Reader
Reads goods of type G
from a reader of type R
.
Methods
impl<G, R> Reader<G, R>
[src]
Trait Implementations
impl<G, R> Consumer for Reader<G, R> where
G: ComposeFrom<u8>,
R: BufRead,
[src]
G: ComposeFrom<u8>,
R: BufRead,
type Good = G
The item being consumed.
type Error = Error
The error when Self
is not functional. Read more
fn consume(&self) -> Result<Option<Self::Good>, Self::Error>
[src]
fn demand(&self) -> Result<Self::Good, Self::Error>
[src]
fn goods(&self) -> GoodsIter<Self> where
Self: Sized,
[src]
Self: Sized,
impl<G: Debug, R: Debug> Debug for Reader<G, R>
[src]
Auto Trait Implementations
impl<G, R> !RefUnwindSafe for Reader<G, R>
impl<G, R> Send for Reader<G, R> where
G: Send,
R: Send,
G: Send,
R: Send,
impl<G, R> !Sync for Reader<G, R>
impl<G, R> Unpin for Reader<G, R> where
G: Unpin,
R: Unpin,
G: Unpin,
R: Unpin,
impl<G, R> UnwindSafe for Reader<G, R> where
G: UnwindSafe,
R: UnwindSafe,
G: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,