Module bonsaidb::core::api

source ·
Expand description

Traits for tailoring a server.

Structs

Enums

  • An Error type that can be used in within an Api definition.

Traits

  • An API request type. This trait is used by BonsaiDb’s server to allow a client to send a request of this type, and the server can respond with a Result<Api::Response,Api::Error>.
  • An error that can be used within a Api definition.

Type Aliases

  • The result of executing a custom API call.

Derive Macros

  • Derives the bonsaidb::core::api::Api trait.