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.
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.