Trait netstack3_core::tcp::PayloadLen

source ·
pub trait PayloadLen {
    // Required method
    fn len(&self) -> usize;
}
Expand description

A TCP payload that only allows for getting the length of the payload.

Required Methods§

source

fn len(&self) -> usize

Returns the length of the payload.

Implementations on Foreign Types§

source§

impl PayloadLen for &[u8]

source§

fn len(&self) -> usize

source§

impl PayloadLen for ()

source§

fn len(&self) -> usize

source§

impl<I, B> PayloadLen for InnerSerializer<I, B>
where I: PayloadLen,

source§

fn len(&self) -> usize

Implementors§

source§

impl<'a, const N: usize> PayloadLen for FragmentedPayload<'a, N>