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
impl Copy for UnsuccessfulReply
impl Eq for UnsuccessfulReply
impl StructuralPartialEq for UnsuccessfulReply
Auto Trait Implementations§
impl Freeze for UnsuccessfulReply
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