ptrs 0.1.0

Interdaces and utilities supporting pluggable transport implementations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Errors that can occur during Pluggable Transport establishment.

use thiserror::Error;

#[derive(Error, Debug, PartialEq)]
pub enum Error {
    // #[error("No proxy requested in TOR_PT_PROXY")]
    // NoProxyRequested,
    #[error("PROXY-ERROR {0}")]
    ProxyError(String),
    #[error("error parsing client params: {0}")]
    ParseError(String),
    #[error("unknown data store error")]
    Unknown,
}