pub trait DecodableWithImpl<E: Encoding>: Sized {
// Required method
fn decode_impl(data: &[u8]) -> Result<Self, E::DecodeError>;
}Required Methods§
fn decode_impl(data: &[u8]) -> Result<Self, E::DecodeError>
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.