MutDecoder

Trait MutDecoder 

Source
pub trait MutDecoder<Encoding, Strategy, Value>{
    // Required method
    fn decode_mut(
        encoding: &Encoding,
        buffer: &mut Encoding::DecodeBuffer<'_>,
    ) -> Result<Value, Encoding::Error>;
}

Required Methods§

Source

fn decode_mut( encoding: &Encoding, buffer: &mut Encoding::DecodeBuffer<'_>, ) -> Result<Value, Encoding::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<Component, Encoding, Strategy, Value> MutDecoder<Encoding, Strategy, Value> for Component
where Encoding: HasDecodeBufferType + HasErrorType, Component: DelegateComponent<MutDecoderComponent>, Component::Delegate: MutDecoder<Encoding, Strategy, Value>,