[][src]Struct market::Reader

pub struct Reader<G, R> { /* fields omitted */ }

Reads goods of type G from a reader of type R.

Methods

impl<G, R> Reader<G, R>[src]

pub fn new(reader: R) -> Self[src]

Creates a new Reader.

Trait Implementations

impl<G, R> Consumer for Reader<G, R> where
    G: ComposeFrom<u8>,
    R: BufRead
[src]

type Good = G

The item being consumed.

type Error = Error

The error when Self is not functional. Read more

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

impl<G, R> !Sync for Reader<G, R>

impl<G, R> Unpin for Reader<G, R> where
    G: Unpin,
    R: Unpin

impl<G, R> UnwindSafe for Reader<G, R> where
    G: UnwindSafe,
    R: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.