Enum socks5_protocol::CommandReply [−][src]
pub enum CommandReply { Succeeded, GeneralSocksServerFailure, ConnectionNotAllowedByRuleset, NetworkUnreachable, HostUnreachable, ConnectionRefused, TtlExpired, CommandNotSupported, AddressTypeNotSupported, }
Expand description
Reply to CommandRequest
Variants
Expand description
succeeded (0x00)
Expand description
general SOCKS server failure (0x01)
Expand description
connection not allowed by ruleset (0x02)
Expand description
Network unreachable (0x03)
Expand description
Host unreachable (0x04)
Expand description
Connection refused (0x05)
Expand description
TTL expired (0x06)
Expand description
Command not supported (0x07)
Expand description
Address type not supported (0x08)
Implementations
impl CommandReply
[src]
impl CommandReply
[src]Trait Implementations
impl Debug for CommandReply
[src]
impl Debug for CommandReply
[src]impl PartialEq<CommandReply> for CommandReply
[src]
impl PartialEq<CommandReply> for CommandReply
[src]impl PartialOrd<CommandReply> for CommandReply
[src]
impl PartialOrd<CommandReply> for CommandReply
[src]fn partial_cmp(&self, other: &CommandReply) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &CommandReply) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more