Enum async_socks5::UnsuccessfulReply
source · pub enum UnsuccessfulReply {
GeneralFailure,
ConnectionNotAllowedByRules,
NetworkUnreachable,
HostUnreachable,
ConnectionRefused,
TtlExpired,
CommandNotSupported,
AddressTypeNotSupported,
Unassigned(u8),
}
Expand description
An unsuccessful reply from a proxy server.
Variants§
GeneralFailure
ConnectionNotAllowedByRules
NetworkUnreachable
HostUnreachable
ConnectionRefused
TtlExpired
CommandNotSupported
AddressTypeNotSupported
Unassigned(u8)
Trait Implementations§
source§impl Clone for UnsuccessfulReply
impl Clone for UnsuccessfulReply
source§fn clone(&self) -> UnsuccessfulReply
fn clone(&self) -> UnsuccessfulReply
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnsuccessfulReply
impl Debug for UnsuccessfulReply
source§impl Hash for UnsuccessfulReply
impl Hash for UnsuccessfulReply
source§impl PartialEq for UnsuccessfulReply
impl PartialEq for UnsuccessfulReply
source§fn eq(&self, other: &UnsuccessfulReply) -> bool
fn eq(&self, other: &UnsuccessfulReply) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UnsuccessfulReply
impl Eq for UnsuccessfulReply
impl StructuralPartialEq for UnsuccessfulReply
Auto Trait Implementations§
impl RefUnwindSafe for UnsuccessfulReply
impl Send for UnsuccessfulReply
impl Sync for UnsuccessfulReply
impl Unpin for UnsuccessfulReply
impl UnwindSafe for UnsuccessfulReply
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