pub trait StatefulAvroDecodable: Sized {
type Decoder: AvroDecode<Out = Self>;
type State;
// Required method
fn new_decoder(state: Self::State) -> Self::Decoder;
}
Required Associated Types§
type Decoder: AvroDecode<Out = Self>
type State
Required Methods§
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.