DecodeBufferPeeker

Trait DecodeBufferPeeker 

Source
pub trait DecodeBufferPeeker<Encoding, Value>
where Encoding: HasDecodeBufferType,
{ // Required method fn peek_decode_buffer<'a>( buffer: &'a mut Encoding::DecodeBuffer<'_>, ) -> Option<&'a Value>; }

Required Methods§

Source

fn peek_decode_buffer<'a>( buffer: &'a mut Encoding::DecodeBuffer<'_>, ) -> Option<&'a Value>

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, Value> DecodeBufferPeeker<Encoding, Value> for Component
where Encoding: HasDecodeBufferType, Component: DelegateComponent<DecodeBufferPeekerComponent>, Component::Delegate: DecodeBufferPeeker<Encoding, Value>,