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