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

Database administration types and functionality.
Traits for tailoring a server.
Types for interacting with BonsaiDb.
Types for interacting with Documents.
Key trait and related types.
Types for utilizing a lightweight atomic Key-Value store.
Limits used within BonsaiDb.
Types for implementing the BonsaiDb network protocol.
Types for creating and validating permissions.
Types for Publish/Subscribe (PubSub) messaging.
Types for defining database schema.
Shared schemas and utilities used for unit testing.
Types for executing transactions.

Macros

Compares two f64’s accounting for the epsilon.
Creates a test suite that tests methods available on AsyncConnection
Defines the KeyValue test suite
Expands into a suite of pubsub unit tests using the passed type as the test harness.
Defines a non-unique view named $view_name for $collection with the mapping provided.
Defines an unique view named $view_name for $collection with the mapping provided.
Creates a test suite that tests methods available on AsyncConnection
Defines the KeyValue test suite
Expands into a suite of pubsub unit tests using the passed type as the test harness.
Defines a view using the mapping provided.

Enums

an enumeration of errors that this crate can produce

Constants

When true, encryption was enabled at build-time.

Traits

A type that implements Error and is threadsafe.