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