Enum shadowsocks_service::local::socks::socks4::ResultCode
source · [−]pub enum ResultCode {
RequestGranted,
RequestRejectedOrFailed,
RequestRejectedCannotConnect,
RequestRejectedDifferentUserId,
Other(u8),
}
Expand description
SOCKS4 Result Code
Variants
RequestGranted
90: request granted
RequestRejectedOrFailed
91: request rejected or failed
RequestRejectedCannotConnect
92: request rejected because SOCKS server cannot connect to identd on the client
RequestRejectedDifferentUserId
93: request rejected because the client program and identd report different user-ids
Other(u8)
Other replies
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ResultCode
impl Send for ResultCode
impl Sync for ResultCode
impl Unpin for ResultCode
impl UnwindSafe for ResultCode
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more