Trait pnet::packet::MutablePacket [] [src]

pub trait MutablePacket: Packet {
    fn packet_mut(&mut self) -> &mut [u8];
fn payload_mut(&mut self) -> &mut [u8]; fn clone_from<T: Packet>(&mut self, other: &T) { ... } }

Represents a generic, mutable, network packet

Required Methods

Retreive the underlying, mutable, buffer for the packet

Retreive the mutable payload for the packet

Provided Methods

Initialize this packet by cloning another

Implementors