pub trait WriteTransaction {
// Required method
fn write_transaction(&mut self) -> StorageTransaction<&mut Self>;
}
Expand description
Creates a new instance of the storage write transaction.
Required Methods§
sourcefn write_transaction(&mut self) -> StorageTransaction<&mut Self>
fn write_transaction(&mut self) -> StorageTransaction<&mut Self>
Returns the write transaction that can commit the changes.
Object Safety§
This trait is not object safe.