Expand description
FoundationDB Client API for Tokio
Guide level documentation is on our website. You will find API level documentation here.
Modules§
- database
- Provides
FdbDatabasetype for working with FDB Database. - error
- Provides
FdbErrortype,FdbResulttype alias and error constants. - future
- Provides
FdbFuture,FdbStreamKeyValuetypes andFdbFutureGettrait 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
FdbTenanttype 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
Keyrepresents a FDB key, a lexicographically-ordered sequence of bytes.- KeySelector
KeySelectoridentifies a particular key in the database.- KeyValue
- A key/value pair.
- Mapped
KeyValue - A mapped key/value pair.
- Mapper
Mapperrepresents the behaviour of a mapped range read.- Tenant
Tenantis a named key-space within a database.- Value
Valuerepresents a value of an FDBKeyand 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
FdbDatabasehandle 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.