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