CanDecodeMut

Trait CanDecodeMut 

Source
pub trait CanDecodeMut<Strategy, Value>: HasDecodeBufferType + HasErrorType {
    // Required method
    fn decode_mut(
        &self,
        buffer: &mut Self::DecodeBuffer<'_>,
    ) -> Result<Value, Self::Error>;
}

Required Methods§

Source

fn decode_mut( &self, buffer: &mut Self::DecodeBuffer<'_>, ) -> Result<Value, Self::Error>

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, Strategy, Value> CanDecodeMut<Strategy, Value> for Encoding
where Encoding: HasDecodeBufferType + HasErrorType + HasComponents, Encoding::Components: MutDecoder<Encoding, Strategy, Value>,