pub enum Socks4ProxyError {
NoProxyServerHostName(Uri),
NoProxyServerPort(Uri),
EmptyProxyServerHostName(Uri),
IoError(Error),
NoScheme(Uri),
NotSupportedScheme(Uri),
NoIpV4Addr(String),
RequestRejectedOrFailed(u8),
NoneAvailableIdentdService(u8),
IdentdCheckFailed(u8),
UnknownReplyCode(u8),
}Expand description
Socks4 Proxy Error
Variants§
NoProxyServerHostName(Uri)
NoProxyServerPort(Uri)
EmptyProxyServerHostName(Uri)
IoError(Error)
NoScheme(Uri)
NotSupportedScheme(Uri)
NoIpV4Addr(String)
RequestRejectedOrFailed(u8)
NoneAvailableIdentdService(u8)
IdentdCheckFailed(u8)
UnknownReplyCode(u8)
Trait Implementations§
Source§impl Debug for Socks4ProxyError
impl Debug for Socks4ProxyError
Source§impl Display for Socks4ProxyError
impl Display for Socks4ProxyError
Source§impl Error for Socks4ProxyError
impl Error for Socks4ProxyError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for Socks4ProxyError
impl From<Error> for Socks4ProxyError
Source§impl From<Socks4ProxyError> for ProxyError
impl From<Socks4ProxyError> for ProxyError
Source§fn from(source: Socks4ProxyError) -> Self
fn from(source: Socks4ProxyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for Socks4ProxyError
impl !RefUnwindSafe for Socks4ProxyError
impl Send for Socks4ProxyError
impl Sync for Socks4ProxyError
impl Unpin for Socks4ProxyError
impl !UnwindSafe for Socks4ProxyError
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