Trait HasDecodeBufferType

Source
pub trait HasDecodeBufferType: HasEncodedType {
    type DecodeBuffer<'a>;

    // Required method
    fn from_encoded<'a>(encoded: &'a Self::Encoded) -> Self::DecodeBuffer<'a>;
}

Required Associated Types§

Required Methods§

Source

fn from_encoded<'a>(encoded: &'a Self::Encoded) -> Self::DecodeBuffer<'a>

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§

Source§

impl<Encoding> HasDecodeBufferType for Encoding
where Encoding: HasEncodedType + HasComponents, Encoding::Components: ProvideDecodeBufferType<Encoding>,