Crate denokv_proto

source ·

Modules

Structs

  • A request to perform an atomic check-modify-write operation on the database.
  • A request to perform a check on a key in the database. The check is not performed on the value of the key, but rather on the versionstamp of the key.
  • The result of a successful commit of an atomic write operation.
  • The database metadata that is returned by the KV Connect metadata endpoint.
  • An endpoint that can be used to connect to the database.
  • A request to enqueue a message to the database. This message is delivered to a listener of the queue at least once.
  • A key is for a KV pair. It is a vector of KeyParts.
  • A key-value entry with a versionstamp.
  • A request to perform a mutation on a key in the database. The mutation is performed on the value of the key.
  • A request to read a range of keys from the database. If end is None, then the range is from start shall also be used as the end of the range.
  • A response to a ReadRange request.
  • Options for a snapshot read.

Enums

  • The consistency of a read.
  • A key part is single item in a key. It can be a boolean, a double float, a variable precision signed integer, a UTF-8 string, or an arbitrary byte array.
  • A serialized value for a KV pair as stored in the database. All values can be serialized into the V8 representation, but not all values are.
  • The type of mutation to perform on a key in the database.
  • The message notifying about the status of a single key in a watch request.

Constants

Traits

Functions

Type Aliases

  • A versionstamp is a 10 byte array that is used to represent the version of a key in the database.