pub fn channel(&self) -> u32 {
        match self {
            Packet::Initialization { channel, .. } => *channel,
            Packet::Continuation { channel, .. } => *channel,
        }
    }
/// Returns the channel of this packet.
Returns the channel of this packet.
Returns the channel of this packet .
pub fn channel(&self) -> u32 {
        match self {
            Packet::Initialization { channel, .. } => *channel,
            Packet::Continuation { channel, .. } => *channel,
        }
    }
pub fn channel ( & self ) -> u32 { match self { Packet :: Initialization { channel , .. } => * channel , Packet :: Continuation { channel , .. } => * channel , } }
Returns the channel of this packet.
Returns the channel of this packet .
&self