pub enum ProxyError {
Show 13 variants
DnsError,
DestinationUnavailable,
DestinationIpUnroutable,
ConnectionRefused,
ConnectionTerminated,
ConnectionTimeout,
TlsProtocolError,
TlsCertificateError,
HttpResponseTimeout,
HttpResponseIncomplete,
HttpProtocolError,
ProxyConfigurationError,
ProxyInternalError,
}Expand description
RFC 9209 §2.3 error types rws reports.
Variants§
DnsError
DestinationIpUnroutable
ConnectionRefused
ConnectionTerminated
ConnectionTimeout
TlsProtocolError
TlsCertificateError
HttpResponseTimeout
HttpResponseIncomplete
HttpProtocolError
ProxyConfigurationError
ProxyInternalError
Implementations§
Source§impl ProxyError
impl ProxyError
Trait Implementations§
Source§impl Clone for ProxyError
impl Clone for ProxyError
impl Copy for ProxyError
Source§impl Debug for ProxyError
impl Debug for ProxyError
impl Eq for ProxyError
Source§impl PartialEq for ProxyError
impl PartialEq for ProxyError
impl StructuralPartialEq for ProxyError
Auto Trait Implementations§
impl Freeze for ProxyError
impl RefUnwindSafe for ProxyError
impl Send for ProxyError
impl Sync for ProxyError
impl Unpin for ProxyError
impl UnsafeUnpin for ProxyError
impl UnwindSafe for ProxyError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.