pub trait ReadTransaction {
// Required method
fn read_transaction(&self) -> StorageTransaction<&Self>;
}
Expand description
Creates a new instance of the storage read transaction.
Required Methods§
Sourcefn read_transaction(&self) -> StorageTransaction<&Self>
fn read_transaction(&self) -> StorageTransaction<&Self>
Returns the read transaction without ability to 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.