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