pub enum Reply {
Succeeded,
ProxyServerFail,
RuleReject,
NetworkUnreachable,
HostUnreachable,
ConnectRefuse,
TTLExpired,
CommandNotSupported,
AddrTypeNotSupported,
Unassigned(u8),
}Expand description
command request response status
Variants§
Succeeded
succeeded
ProxyServerFail
general SOCKS server failure
RuleReject
connection not allowed by rule set
NetworkUnreachable
Network unreachable
HostUnreachable
Host unreachable
ConnectRefuse
Connection refused
TTLExpired
TTL expired
CommandNotSupported
Command not supported
AddrTypeNotSupported
Address type not supported
Unassigned(u8)
X’09’ to X’FF’ unassigned
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnwindSafe for Reply
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