Struct diny_core::deserializer::Deserializer[][src]

pub struct Deserializer<F, R> {
    pub format: F,
    pub reader: R,
}
Expand description

A wrapper type around a specific format and reader

Fields

format: F

The (format)backend::FormatDecode used for decoding

reader: R

The (reader)io::AsyncBufRead to read deserialized bytes from

Implementations

Instantiates a new Deserializer from the format and reader

Converts the Deserializer into a stream of D’s

Deserializes a single object of type D

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.

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.