Skip to main content

Transactional

Trait Transactional 

Source
pub trait Transactional: Send + Sync {
    type Tx: Transaction;

    // Required method
    fn begin_transaction(&self) -> Result<Self::Tx>;
}
Expand description

Ability to start a transaction. Implemented by DatabaseHandler.

Required Associated Types§

Required Methods§

Source

fn begin_transaction(&self) -> Result<Self::Tx>

Implementors§