Skip to main content

TransactionVTab

Trait TransactionVTab 

Source
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§

Required Methods§

Source

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.

Implementors§