pub trait DatabaseTransaction<Database>:
Transactional
+ Debug
+ Send
+ Sync {
// Required methods
fn database(&self) -> &Database;
fn database_mut(&mut self) -> &mut Database;
}
Expand description
The database transaction for the Database
type.
Required Methods§
Sourcefn database_mut(&mut self) -> &mut Database
fn database_mut(&mut self) -> &mut Database
Returns the mutable reference to the Database
instance.