Trait pnet::packet::Packet [] [src]

pub trait Packet {
    fn packet(&self) -> &[u8];
fn payload(&self) -> &[u8]; }

Represents a generic network packet

Required Methods

Retreive the underlying buffer for the packet

Retreive the payload for the packet

Implementors