updb 0.1.0

An embedded, immutable, in-memory, key-value database engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![deny(unsafe_code)]

use thiserror::Error;

#[derive(Debug, Error)]
pub enum Error {
    #[error("Unexpected error occurred")]
    Generic,

    #[error("Transaction is closed")]
    TxClosed,

    #[error("Transaction is not writable")]
    TxNotWritable,
}