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

Get the calculated size of the packet.

Implementors