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