pub trait PacketPayloadLenCursor: EncoderValue {
    // Required methods
    fn new() -> Self;
    fn update(&self, buffer: &mut EncoderBuffer<'_>, actual_len: usize);
}

Required Methods§

source

fn new() -> Self

source

fn update(&self, buffer: &mut EncoderBuffer<'_>, actual_len: usize)

Object Safety§

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

source§

fn new()

source§

fn update(&self, _buffer: &mut EncoderBuffer<'_>, _actual_len: usize)

Implementors§