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