pub enum CommandReply {
Succeeded,
GeneralSocksServerFailure,
ConnectionNotAllowedByRuleset,
NetworkUnreachable,
HostUnreachable,
ConnectionRefused,
TtlExpired,
CommandNotSupported,
AddressTypeNotSupported,
}Expand description
Reply to CommandRequest
Variants§
Succeeded
succeeded (0x00)
GeneralSocksServerFailure
general SOCKS server failure (0x01)
ConnectionNotAllowedByRuleset
connection not allowed by ruleset (0x02)
NetworkUnreachable
Network unreachable (0x03)
HostUnreachable
Host unreachable (0x04)
ConnectionRefused
Connection refused (0x05)
TtlExpired
TTL expired (0x06)
CommandNotSupported
Command not supported (0x07)
AddressTypeNotSupported
Address type not supported (0x08)
Implementations§
Trait Implementations§
Source§impl Debug for CommandReply
impl Debug for CommandReply
Source§impl PartialEq for CommandReply
impl PartialEq for CommandReply
Source§impl PartialOrd for CommandReply
impl PartialOrd for CommandReply
impl StructuralPartialEq for CommandReply
Auto Trait Implementations§
impl Freeze for CommandReply
impl RefUnwindSafe for CommandReply
impl Send for CommandReply
impl Sync for CommandReply
impl Unpin for CommandReply
impl UnwindSafe for CommandReply
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