Expand description
FoundationDB Client API for Tokio
Guide level documentation is on our website. You will find API level documentation here.
Modules§
- database
- Provides
FdbDatabase
type for working with FDB Database. - error
- Provides
FdbError
type,FdbResult
type alias and error constants. - future
- Provides
FdbFuture
,FdbStreamKeyValue
types andFdbFutureGet
trait for working with FDB Future. - range
- Provides types for working with FDB range.
- subspace
- Provides a convenient way to define namespaces for different categories of data.
- tenant
- Provides
FdbTenant
type for working with FDB Tenants. - transaction
- Provides types and traits for working with FDB Transactions and Snapshots.
- tuple
- Provides a set of utilities for serializing and deserializing typed data for use in FDB.
Structs§
- Key
Key
represents a FDB key, a lexicographically-ordered sequence of bytes.- KeySelector
KeySelector
identifies a particular key in the database.- KeyValue
- A key/value pair.
- Mapped
KeyValue - A mapped key/value pair.
- Mapper
Mapper
represents the behaviour of a mapped range read.- Tenant
Tenant
is a named key-space within a database.- Value
Value
represents a value of an FDBKey
and is a sequence of bytes.
Enums§
- Network
Option - A set of options that can be set globally for the FDB API.
Constants§
- FDB_
API_ VERSION - Maximum API version supported by the client
Functions§
- open_
database - Returns
FdbDatabase
handle to the FDB cluster identified by the provided cluster file. - select_
api_ ⚠version - Select the version of the client API.
- set_
network_ ⚠option - Set global options for the FDB API.
- start_
network ⚠ - Initializes FDB network.
- stop_
network ⚠ - Stops the FDB networking engine.