sled-tables 0.2.2

Structurized, strongly typed tables for sled to store associated sets of data (Vec/HashSet)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;
use serde_cbor::Error as CError;
use sled::Error as SError;

#[derive(Error, Debug)]
pub enum Error {
    #[error(transparent)]
    CborError(#[from] CError),
    #[error(transparent)]
    SledError(#[from] SError),
    #[error(transparent)]
    PropagatedError(#[from] Box<dyn std::error::Error>),
    #[error("no data in the DB")]
    NoDataError,
}