Trait DecodableWithImpl

Source
pub trait DecodableWithImpl<E: Encoding>: Sized {
    // Required method
    fn decode_impl(data: &[u8]) -> Result<Self, E::DecodeError>;
}

Required Methods§

Source

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.

Implementors§