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.