[][src]Struct async_socks5::SocksDatagramRecvHalf

pub struct SocksDatagramRecvHalf<S>(_);

Implementations

impl<S> SocksDatagramRecvHalf<S> where
    S: AsyncWriteExt + AsyncReadExt + Send + Unpin
[src]

pub async fn recv_from<'_, '_>(
    &'_ mut self,
    buf: &'_ mut [u8]
) -> Result<(usize, AddrKind)>
[src]

Trait Implementations

impl<S: Debug> Debug for SocksDatagramRecvHalf<S>[src]

Auto Trait Implementations

impl<S> !RefUnwindSafe for SocksDatagramRecvHalf<S>

impl<S> Send for SocksDatagramRecvHalf<S> where
    S: Send + Sync

impl<S> Sync for SocksDatagramRecvHalf<S> where
    S: Send + Sync

impl<S> Unpin for SocksDatagramRecvHalf<S>

impl<S> !UnwindSafe for SocksDatagramRecvHalf<S>

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, 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.