mod client;
mod server;
mod status;
#[cfg(feature = "simulation")]
mod simulation;
use std::io;
pub use client::Channel;
pub(crate) use server::start_rpc_server;
pub use status::{ArchivedErrorCode, ArchivedStatus, ErrorCode, Status};
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("IO Error: {0}")]
Io(#[from] io::Error),
#[error("Hyper Error: {0}")]
Hyper(#[from] hyper::Error),
}