fuel_core_storage::transactional

Trait ReadTransaction

source
pub trait ReadTransaction {
    // Required method
    fn read_transaction(&self) -> StorageTransaction<&Self>;
}
Expand description

Creates a new instance of the storage read transaction.

Required Methods§

source

fn read_transaction(&self) -> StorageTransaction<&Self>

Returns the read transaction without ability to commit the changes.

Object Safety§

This trait is not object safe.

Implementors§