Enum fast_socks5::ReplyError
source · pub enum ReplyError {
Succeeded,
GeneralFailure,
ConnectionNotAllowed,
NetworkUnreachable,
HostUnreachable,
ConnectionRefused,
ConnectionTimeout,
TtlExpired,
CommandNotSupported,
AddressTypeNotSupported,
}
Expand description
SOCKS5 reply code
Variants§
Succeeded
GeneralFailure
ConnectionNotAllowed
NetworkUnreachable
HostUnreachable
ConnectionRefused
ConnectionTimeout
TtlExpired
CommandNotSupported
AddressTypeNotSupported
Implementations§
source§impl ReplyError
impl ReplyError
Trait Implementations§
source§impl Clone for ReplyError
impl Clone for ReplyError
source§fn clone(&self) -> ReplyError
fn clone(&self) -> ReplyError
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 ReplyError
impl Debug for ReplyError
source§impl Display for ReplyError
impl Display for ReplyError
source§impl Error for ReplyError
impl Error for ReplyError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ReplyError> for SocksError
impl From<ReplyError> for SocksError
source§fn from(source: ReplyError) -> Self
fn from(source: ReplyError) -> Self
Converts to this type from the input type.
impl Copy for ReplyError
Auto Trait Implementations§
impl Freeze for ReplyError
impl RefUnwindSafe for ReplyError
impl Send for ReplyError
impl Sync for ReplyError
impl Unpin for ReplyError
impl UnwindSafe for ReplyError
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