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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".