[][src]Struct socks5_protocol_async::protocol::Reply

pub struct Reply {
    pub reply_code: u8,
    pub address: Address,
    pub port: u16,
}

Fields

reply_code: u8address: Addressport: u16

Methods

impl Reply[src]

pub async fn write<'_, '_, AW>(&'_ self, writer: &'_ mut AW) -> Result<()> where
    AW: AsyncWrite + Unpin
[src]

Trait Implementations

impl Clone for Reply[src]

impl Debug for Reply[src]

impl Eq for Reply[src]

impl PartialEq<Reply> for Reply[src]

impl StructuralEq for Reply[src]

impl StructuralPartialEq for Reply[src]

Auto Trait Implementations

impl RefUnwindSafe for Reply

impl Send for Reply

impl Sync for Reply

impl Unpin for Reply

impl UnwindSafe for Reply

Blanket Implementations

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

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

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

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.