Enum diny_core::backend::PollDecodeStatus[][src]

pub enum PollDecodeStatus<Dta, Err> {
    Fini(Dta),
    Pending,
    Error(Err),
}

Variants

Fini(Dta)

The operation has successfully completed decoding the data.

Tuple Fields of Fini

0: Dta
Pending

The operation is pending and the same decoder can be polled later.

Error(Err)

The operation resulted in an error.

Tuple Fields of Error

0: Err

Implementations

Maps decoded data to the data structure by applying f

Maps any returned error to the error returned by applying f

Binds the decoded data to the data structure mapped by f

Lifts the PollDecodeStatus to a StartDecodeStatus by consuming the passed in pend object if necessary

Trait Implementations

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.