[−]Trait netsim_embed::Packet
Represents a generic network packet.
Required methods
pub fn packet(&self) -> &[u8]
Retrieve the underlying buffer for the packet.
pub fn payload(&self) -> &[u8]
Retrieve the payload for the packet.