Crate varvedb

Crate varvedb 

Source
Expand description

VarveDB - A high-performance, embedded, append-only event store for Rust.

Re-exports§

pub use config::VarveConfig;
pub use error::Error;
pub use error::Result;
pub use event::GlobalEvent;
pub use global::GlobalIterator;
pub use global::GlobalReader;
pub use stream::HighSerializer;
pub use stream::LowSerializer;
pub use stream::Stream;
pub use stream::StreamIterator;
pub use stream::StreamReader;
pub use types::GlobalSequence;
pub use types::StreamId;
pub use types::StreamKey;
pub use types::StreamSequence;
pub use varve::Varve;

Modules§

config
Configuration types for VarveDB.
constants
error
Error types for VarveDB.
event
Event types for VarveDB.
global
Global event reading functionality.
log
Logging functionality for VarveDB.
stream
Stream handle for typed event access.
types
utils
Utility macros and helpers for VarveDB.
varve
Core VarveDB database handle.

Macros§

debug_only
Executes a block only in debug builds.
timed
Times the execution of a block and invokes a callback with the label and elapsed duration.
timed_dbg
Times the execution of a block and logs the result.