[][src]Enum protosocks::Rep

#[repr(u8)]pub enum Rep {
    Success,
    Failure,
    RuleFailure,
    NetworkUnreachable,
    HostUnreachable,
    ConnectionRefused,
    TtlExpired,
    CommandNotSupported,
    AddrTypeNotSupported,
}

Variants

Success
Failure
RuleFailure
NetworkUnreachable
HostUnreachable
ConnectionRefused
TtlExpired
CommandNotSupported
AddrTypeNotSupported

Trait Implementations

impl Clone for Rep[src]

impl Copy for Rep[src]

impl Debug for Rep[src]

impl<'de> Deserialize<'de> for Rep[src]

impl Display for Rep[src]

impl Eq for Rep[src]

impl Error for Rep where
    Self: Debug + Display
[src]

impl ErrorCompat for Rep[src]

impl From<Rep> for u8[src]

impl FromPrimitive for Rep[src]

impl Hash for Rep[src]

impl PartialEq<Rep> for Rep[src]

impl Serialize for Rep[src]

impl StructuralEq for Rep[src]

impl StructuralPartialEq for Rep[src]

impl TryFrom<u8> for Rep[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Rep

impl Send for Rep

impl Sync for Rep

impl Unpin for Rep

impl UnwindSafe for Rep

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.