fuel_core_storage::transactional

Trait WriteTransaction

source
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§

source

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.

Implementors§

source§

impl<S> WriteTransaction for S
where S: Modifiable,