pub struct RocksDBTransaction { /* private fields */ }
Expand description

An optimistic transaction database.

Implementations

Return the bytes associated with the given key and given column.

Write the bytes into the given column with associated key.

Delete the data associated with the given key and given column.

Read a key and make the read value a precondition for transaction commit.

Commit the transaction.

Rollback the transaction.

Return RocksDBTransactionSnapshot

Set savepoint for transaction.

Rollback the transaction to savepoint.

Trait Implementations

Opens an interator using the provided IteratorMode and ReadOptions. This is used when you want to iterate over a specific ColumnFamily with a modified ReadOptions Read more

Opens an interator using the provided IteratorMode. This is used when you want to iterate over a specific ColumnFamily Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

TODO(doc): @quake

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.