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§