reddb 2.0.0

Minimalistic async in-memory embedded document database with closure-based queries and optional persistence
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};

/// Internal WAL operation marker. Never exposed in the public API.
#[derive(Debug, Clone, Serialize, PartialEq, Deserialize)]
pub(crate) enum Status {
    In,
    Up,
    De,
}

impl Default for Status {
    fn default() -> Self {
        Status::In
    }
}