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