pub trait TransactionVTab<'vtab>: UpdateVTab<'vtab> {
type Transaction: VTabTransaction + 'vtab;
// Required method
fn begin(&'vtab self) -> Result<Self::Transaction>;
}Expand description
A virtual table that supports ROLLBACK.
See VTabTransaction for details.
Required Associated Types§
type Transaction: VTabTransaction + 'vtab
Required Methods§
Sourcefn begin(&'vtab self) -> Result<Self::Transaction>
fn begin(&'vtab self) -> Result<Self::Transaction>
Begin a transaction.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.