fuel_core_relayer::ports

Trait DatabaseTransaction

Source
pub trait DatabaseTransaction {
    // Required method
    fn commit(self) -> StorageResult<()>;
}
Expand description

The trait that should be implemented by the database transaction returned by the database.

Required Methods§

Source

fn commit(self) -> StorageResult<()>

Commits the changes to the underlying storage.

Implementations on Foreign Types§

Source§

impl<S> DatabaseTransaction for StorageTransaction<S>
where S: Modifiable,

Implementors§