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