Trait fuel_core_storage::transactional::Modifiable

source ·
pub trait Modifiable {
    // Required method
    fn commit_changes(&mut self, changes: Changes) -> StorageResult<()>;
}
Expand description

The type is modifiable and may commit the changes into the storage.

Required Methods§

source

fn commit_changes(&mut self, changes: Changes) -> StorageResult<()>

Commits the changes into the storage.

Implementations on Foreign Types§

source§

impl<T: Modifiable> Modifiable for &mut T

source§

fn commit_changes(&mut self, changes: Changes) -> StorageResult<()>

source§

impl<T: Modifiable> Modifiable for Box<T>

source§

fn commit_changes(&mut self, changes: Changes) -> StorageResult<()>

Implementors§