fuel_core_storage::transactional

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