Trait Packet

Source
pub trait Packet:
    Sized
    + AsRef<[u8]>
    + AsMut<[u8]> { }
Expand description

A Packet is a byte buffer for packet data. Similar to a Vec<u8> it has a length and a capacity.

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§