[][src]Enum market::io::ReadError

pub enum ReadError<G> where
    G: AssembleFrom<u8> + Debug,
    <G as AssembleFrom<u8>>::Error: 'static, 
{ Assemble(<G as AssembleFrom<u8>>::Error), Closed, }

An error while reading a good of type G.

Variants

Assemble(<G as AssembleFrom<u8>>::Error)

Unable to assemble the good from bytes.

Closed

Reader was closed.

Trait Implementations

impl<G: Debug> Debug for ReadError<G> where
    G: AssembleFrom<u8> + Debug,
    <G as AssembleFrom<u8>>::Error: 'static, 
[src]

impl<G> Display for ReadError<G> where
    G: AssembleFrom<u8> + Debug,
    <G as AssembleFrom<u8>>::Error: 'static, 
[src]

impl<G> Error for ReadError<G> where
    G: AssembleFrom<u8> + Debug,
    <G as AssembleFrom<u8>>::Error: 'static, 
[src]

impl<G> From<ClosedMarketFault> for ReadError<G> where
    G: AssembleFrom<u8> + Debug
[src]

Auto Trait Implementations

impl<G> RefUnwindSafe for ReadError<G> where
    <G as AssembleFrom<u8>>::Error: RefUnwindSafe

impl<G> Send for ReadError<G> where
    <G as AssembleFrom<u8>>::Error: Send

impl<G> Sync for ReadError<G> where
    <G as AssembleFrom<u8>>::Error: Sync

impl<G> Unpin for ReadError<G> where
    <G as AssembleFrom<u8>>::Error: Unpin

impl<G> UnwindSafe for ReadError<G> where
    <G as AssembleFrom<u8>>::Error: UnwindSafe

Blanket Implementations

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

impl<N, S> AssembleInto<S> for N where
    S: AssembleFrom<N>, 
[src]

type Error = <S as AssembleFrom<N>>::Error

The type of the error that could be thrown during assembly.

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

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

impl<N, S> DisassembleInto<N> for S where
    N: DisassembleFrom<S>, 
[src]

type Error = <N as DisassembleFrom<S>>::Error

The type of the error that could be thrown during disassembly.

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.