Struct itm::packet::Packet [−][src]
pub struct Packet { /* fields omitted */ }
Represents a complete received packet.
Methods
impl Packet
[src]
impl Packet
pub fn header(&self) -> u8
[src]
pub fn header(&self) -> u8
Returns the header byte received for this packet.
pub fn kind(&self) -> &Kind
[src]
pub fn kind(&self) -> &Kind
The kind (type) of this packet.