async_codec_lite

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

Implementors§