Trait libpacket_core::PacketSize[][src]

pub trait PacketSize: Packet {
    fn packet_size(&self) -> usize;
}
Expand description

Used to find the calculated size of the packet. This is used for occasions where the underlying buffer is not the same length as the packet itself.

Required methods

fn packet_size(&self) -> usize[src]

Expand description

Get the calculated size of the packet.

Implementors