nitinol-protocol 0.1.0

A library for Nitinol that defined method of accessing serialized events and databases.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::error::Error;

#[derive(Debug, thiserror::Error)]
pub enum ProtocolError {
    #[error("Failed setup database: {0}")]
    Setup(#[source] Box<dyn Error + Sync + Send>),
    #[error("Failed to write data: {0}")]
    Write(#[source] Box<dyn Error + Sync + Send>),
    #[error("Failed to read data: {0}")]
    Read(#[source] Box<dyn Error + Sync + Send>),
}