mz_avro::decode

Trait StatefulAvroDecodable

Source
pub trait StatefulAvroDecodable: Sized {
    type Decoder: AvroDecode<Out = Self>;
    type State;

    // Required method
    fn new_decoder(state: Self::State) -> Self::Decoder;
}

Required Associated Types§

Source

type Decoder: AvroDecode<Out = Self>

Source

type State

Required Methods§

Source

fn new_decoder(state: Self::State) -> Self::Decoder

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl StatefulAvroDecodable for i32

Source§

impl StatefulAvroDecodable for i64

Source§

impl StatefulAvroDecodable for isize

Source§

impl StatefulAvroDecodable for u64

Source§

impl StatefulAvroDecodable for usize

Source§

impl<T: AvroDecodable> StatefulAvroDecodable for Vec<T>

Implementors§