Trait fuel_core_relayer::ports::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§
sourcefn commit(self) -> StorageResult<()>
fn commit(self) -> StorageResult<()>
Commits the changes to the underlying storage.