Crate bonsaidb_core

Source
Expand description

Core functionality and types for BonsaiDb.

Re-exports§

pub use actionable;
pub use arc_bytes;
pub use async_trait;
pub use circulate;
pub use num_traits;
pub use ordered_varint;
pub use transmog;
pub use transmog_pot;

Modules§

admin
Database administration types and functionality.
api
Traits for tailoring a server.
connection
Types for interacting with BonsaiDb.
document
Types for interacting with Documents.
key
Key trait and related types.
keyvalue
Types for utilizing a lightweight atomic Key-Value store.
limits
Limits used within BonsaiDb.
networking
Types for implementing the BonsaiDb network protocol.
permissions
Types for creating and validating permissions.
pubsub
Types for Publish/Subscribe (PubSub) messaging.
schema
Types for defining database schema.
transaction
Types for executing transactions.

Macros§

define_basic_mapped_view
Defines a non-unique view named $view_name for $collection with the mapping provided.
define_basic_unique_mapped_view
Defines an unique view named $view_name for $collection with the mapping provided.
define_mapped_view
Defines a view using the mapping provided.

Enums§

Error
an enumeration of errors that this crate can produce

Constants§

ENCRYPTION_ENABLED
When true, encryption was enabled at build-time.

Traits§

AnyError
A type that implements Error and is threadsafe.