pub fn is_invalid_handshake_transition_exception(&self) -> bool {
        matches!(
            &self.kind,
            DeclineHandshakeErrorKind::InvalidHandshakeTransitionException(_)
        )
    }
/// Returns `true` if the error kind is `DeclineHandshakeErrorKind::InvalidHandshakeTransitionException`.
Returns `true` if the error kind is `DeclineHandshakeErrorKind::InvalidHandshakeTransitionException`.
Returns ` true ` if the error kind is ` DeclineHandshakeErrorKind :: InvalidHandshakeTransitionException ` .
pub fn is_invalid_handshake_transition_exception(&self) -> bool {
        matches!(
            &self.kind,
            DeclineHandshakeErrorKind::InvalidHandshakeTransitionException(_)
        )
    }
pub fn is_invalid_handshake_transition_exception ( & self ) -> bool { matches ! ( self kind DeclineHandshakeErrorKind InvalidHandshakeTransitionException ( ) ) }
Returns `true` if the error kind is `DeclineHandshakeErrorKind::InvalidHandshakeTransitionException`.
Returns ` true ` if the error kind is ` DeclineHandshakeErrorKind :: InvalidHandshakeTransitionException ` .
&self
&self