pub trait PacketPayloadLenCursor: EncoderValue {
// Required methods
fn new() -> Self;
fn update(&self, buffer: &mut EncoderBuffer<'_>, actual_len: usize);
}Required Methods§
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.
Implementations on Foreign Types§
Source§impl PacketPayloadLenCursor for ()
used for short packets that don’t use a payload len
impl PacketPayloadLenCursor for ()
used for short packets that don’t use a payload len