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