hermesmq-core 0.6.0

Core engine for hermesmq: queue state machine and Raft application types
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

#[derive(Debug, Error)]
pub enum Error {
    #[error("io error: {0}")]
    Io(#[from] std::io::Error),

    #[error("storage error: {0}")]
    Storage(String),
}

pub type Result<T> = std::result::Result<T, Error>;