Module bonsaidb::core::connection

Expand description

Types for interacting with BonsaiDb.

Structs

  • Interacts with a collection over a Connection.
  • Retrieves a list of documents from a collection, when awaited. This structure also offers functions to customize the options for the operation.
  • Parameters to query a schema::View.
  • Interacts with a collection over a Connection.
  • A database stored in BonsaiDb.
  • Retrieves a list of documents from a collection. This structure also offers functions to customize the options for the operation.
  • A range type that can represent all std range types and be serialized.
  • A range reference type that can be serialized.
  • A buffer containing sensitive (private) data. This struct automatically overwrites its contents with zeroes when dropped.
  • A string containing sensitive (private) data. This struct automatically overwrites its contents with zeroes when dropped.
  • The authentication state for a StorageConnection.
  • A unique session ID.
  • Parameters to query a schema::View.

Enums

Traits

Type Definitions

  • This type is the result of reduce_grouped(). It is a list of all matching keys and the reduced value of all mapped entries for that key.
  • ViewMappingsDeprecated
    This type is the result of query(). It is a list of mappings, which contains: