refactor: make globals simple

This commit is contained in:
Jun Kurihara 2023-07-07 20:24:38 +09:00
commit 80e10d5ccd
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
4 changed files with 37 additions and 19 deletions

View file

@ -29,6 +29,9 @@ pub enum RpxyError {
#[error("I/O Error")]
Io(#[from] io::Error),
#[error("Toml Deserialization Error")]
TomlDe(#[from] toml::de::Error),
#[cfg(feature = "http3")]
#[error("Quic Connection Error")]
QuicConn(#[from] quinn::ConnectionError),