Struct kvdb::DBTransaction
source · [−]Expand description
Write transaction. Batches a sequence of put/delete operations for efficiency.
Fields
ops: Vec<DBOp>
Database operations.
Implementations
Create new transaction.
Create new transaction with capacity.
Insert a key-value pair in the transaction. Any existing value will be overwritten upon write.
Insert a key-value pair in the transaction. Any existing value will be overwritten upon write.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DBTransaction
impl Send for DBTransaction
impl Sync for DBTransaction
impl Unpin for DBTransaction
impl UnwindSafe for DBTransaction
Blanket Implementations
Mutably borrows from an owned value. Read more