[][src]Enum protosocks::Cmd

#[repr(u8)]pub enum Cmd {
    Connect,
    Bind,
    UdpAssociate,
}

SOCK5 CMD Type

Variants

Connect
Bind
UdpAssociate

Trait Implementations

impl Clone for Cmd[src]

impl Copy for Cmd[src]

impl Debug for Cmd[src]

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

impl Display for Cmd[src]

impl Eq for Cmd[src]

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

impl ErrorCompat for Cmd[src]

impl From<Cmd> for u8[src]

impl FromPrimitive for Cmd[src]

impl Hash for Cmd[src]

impl PartialEq<Cmd> for Cmd[src]

impl Serialize for Cmd[src]

impl StructuralEq for Cmd[src]

impl StructuralPartialEq for Cmd[src]

impl TryFrom<u8> for Cmd[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Cmd

impl Send for Cmd

impl Sync for Cmd

impl Unpin for Cmd

impl UnwindSafe for Cmd

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.