proxy_http 0.1.9

Async HTTP proxy server in Rust. / Rust 异步 HTTP 代理服务器。
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

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

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