tcpclient 2.1.0

Asynchronous tcpclient based on aqueue actor.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("{0}")]
    SendError(String),
    #[error(transparent)]
    IOError(#[from] std::io::Error),
    #[error(transparent)]
    Error(#[from] anyhow::Error),
}

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