pub fn typ(&self) -> u64 {
        match self {
            Self::Open(_) => 0,
            Self::Close(_) => 1,
            Self::Request(_) => 2,
            Self::Data(_) => 3,
        }
    }
/// Wire type of this message.
Wire type of this message.
Wire type of this message .
pub fn typ(&self) -> u64 {
        match self {
            Self::Open(_) => 0,
            Self::Close(_) => 1,
            Self::Request(_) => 2,
            Self::Data(_) => 3,
        }
    }
pub fn typ ( & self ) -> u64 { match self { Self :: Open ( _ ) => 0 , Self :: Close ( _ ) => 1 , Self :: Request ( _ ) => 2 , Self :: Data ( _ ) => 3 , } }
Wire type of this message.
Wire type of this message .
&self
&self