pub trait DecoderValue<'a>: Sized {
// Required method
fn decode(bytes: DecoderBuffer<'a>) -> DecoderBufferResult<'a, Self>;
}
Required Methods§
fn decode(bytes: DecoderBuffer<'a>) -> DecoderBufferResult<'a, Self>
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.