Enum bitcoin_proxy::SOCKS5Reply
source · #[repr(u8)]
pub enum SOCKS5Reply {
SUCCEEDED,
GENFAILURE,
NOTALLOWED,
NETUNREACHABLE,
HOSTUNREACHABLE,
CONNREFUSED,
TTLEXPIRED,
CMDUNSUPPORTED,
ATYPEUNSUPPORTED,
}
Expand description
| Values defined for REP in RFC1928 |
Variants§
SUCCEEDED
| Succeeded |
GENFAILURE
| General failure |
NOTALLOWED
| Connection not allowed by ruleset |
NETUNREACHABLE
| Network unreachable |
HOSTUNREACHABLE
| Network unreachable |
CONNREFUSED
| Connection refused |
TTLEXPIRED
| TTL expired |
CMDUNSUPPORTED
| Command not supported |
ATYPEUNSUPPORTED
| Address type not supported |
Auto Trait Implementations§
impl RefUnwindSafe for SOCKS5Reply
impl Send for SOCKS5Reply
impl Sync for SOCKS5Reply
impl Unpin for SOCKS5Reply
impl UnwindSafe for SOCKS5Reply
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more