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§
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".