pub trait StatementControl {
// Required methods
fn transaction_failed(&self) -> bool;
fn run_transaction_statement(
&self,
statement: TransactionStmt,
) -> Result<(), SQLError>;
fn set_constraints(
&self,
requested: &[SetConstraintName],
deferred: bool,
nested_statement: bool,
) -> Result<(), SQLError>;
}Required Methods§
fn transaction_failed(&self) -> bool
fn run_transaction_statement( &self, statement: TransactionStmt, ) -> Result<(), SQLError>
fn set_constraints( &self, requested: &[SetConstraintName], deferred: bool, nested_statement: bool, ) -> Result<(), SQLError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".