Trait packet::PacketMut [] [src]

pub trait PacketMut {
    fn split_mut(&mut self) -> (&mut [u8], &mut [u8]);

    fn header_mut(&mut self) -> &mut [u8] { ... }
fn payload_mut(&mut self) -> &mut [u8] { ... } }

A mutable network packet.

Required Methods

Return both mutable slices.

Provided Methods

Returns a slice to the packet header.

Returns a slice to the packet payload.

Implementors