Skip to main content

DecoderWithSkipAhead

Trait DecoderWithSkipAhead 

Source
pub trait DecoderWithSkipAhead: Decoder {
    type Handler: SkipAheadHandler;

    // Required method
    fn prepare_skip_ahead(&mut self, src: &mut BytesMut) -> Self::Handler;
}

Required Associated Types§

Required Methods§

Source

fn prepare_skip_ahead(&mut self, src: &mut BytesMut) -> Self::Handler

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§