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

A handle to a FDB snapshot, suitable for performing snapshot reads.

Snapshot reads offer more relaxed isolation level than FDB’s default serializable isolation, reducing transaction conflicts but making it harder to reason about concurrency.

For more information about how to use snapshot reads correctly, see snapshot reads.

snapshot method on FdbTransaction can be used to create a FdbReadTransaction.

Implementations

Runs a closure in the context of this FdbReadTransaction.

Safety

You should not use this API. It exists to support binding tester.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Determines whether an error returned by a Transaction or ReadTransaction method is retryable. Waiting on the returned future will return the same error when fatal, or return () for retryable errors. Read more

Gets a value from the database. Read more

Get a list of public network addresses as CString, one for each of the storage servers responsible for storing Key and its associated value. Read more

Gets an estimate for the number of bytes stored in the given range. Read more

Returns the key referenced by the specificed KeySelector. Read more

WARNING: This feature is considered experimental at this time. Read more

Gets an ordered range of keys and values from the database. Read more

Gets a list of keys that can split the given range into (roughly) equally sized chunks based on chunk_size. Read more

Gets the version at which the reads for this Transaction or ReadTransaction will access the database. Read more

Directly sets the version of the database at which to execute reads. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.