[−][src]Trait packet::PacketMut
A mutable network packet.
Required methods
Loading content...Provided methods
pub fn header_mut(&mut self) -> &mut [u8]
[src]
Returns a slice to the packet header.
pub fn payload_mut(&mut self) -> &mut [u8]
[src]
Returns a slice to the packet payload.