Enum socks5_impl::protocol::Reply
source · pub enum Reply {
Succeeded,
GeneralFailure,
ConnectionNotAllowed,
NetworkUnreachable,
HostUnreachable,
ConnectionRefused,
TtlExpired,
CommandNotSupported,
AddressTypeNotSupported,
}
Variants§
Succeeded
GeneralFailure
ConnectionNotAllowed
NetworkUnreachable
HostUnreachable
ConnectionRefused
TtlExpired
CommandNotSupported
AddressTypeNotSupported
Trait Implementations§
source§impl Ord for Reply
impl Ord for Reply
source§impl PartialEq<Reply> for Reply
impl PartialEq<Reply> for Reply
source§impl PartialOrd<Reply> for Reply
impl PartialOrd<Reply> for Reply
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Reply
impl Eq for Reply
impl StructuralEq for Reply
impl StructuralPartialEq for Reply
Auto Trait Implementations§
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