tokio-connectors 0.1.6

A collection of connectors for tokio-based clients and servers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("IO error: {0}")]
    Io(#[from] std::io::Error),

    #[error("JSON error: {0}")]
    Json(#[from] serde_json::Error),

    #[error("Postcard error: {0}")]
    Postcard(#[from] postcard::Error),

    #[error("Send error")]
    Send,
}