Struct interchange::avro::decode::Decoder[][src]

pub struct Decoder {
    csr_avro: ConfluentAvroResolver,
    debug_name: String,
    buf1: Vec<u8>,
    packer: Row,
}
Expand description

Manages decoding of Avro-encoded bytes.

Fields

csr_avro: ConfluentAvroResolverdebug_name: Stringbuf1: Vec<u8>packer: Row

Implementations

Creates a new Decoder

The provided schema is called the “reader schema”, which is the schema that we are expecting to use to decode records. The records may indicate that they are encoded with a different schema; as long as those.

Decodes Avro-encoded bytes into a Row.

Trait Implementations

Formats the value using the given formatter. Read more

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more