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