[][src]Struct tokio::net::unix::SendDgram

pub struct SendDgram<T, P> { /* fields omitted */ }

A future for writing a buffer to a Unix datagram socket.

Trait Implementations

impl<T, P> Debug for SendDgram<T, P> where
    P: Debug,
    T: Debug
[src]

impl<T, P> Future for SendDgram<T, P> where
    P: AsRef<Path>,
    T: AsRef<[u8]>, 
[src]

type Item = (UnixDatagram, T)

Returns the underlying socket and the buffer that was sent.

type Error = Error

The error that is returned when sending failed.

Auto Trait Implementations

impl<T, P> !RefUnwindSafe for SendDgram<T, P>

impl<T, P> Send for SendDgram<T, P> where
    P: Send,
    T: Send

impl<T, P> Sync for SendDgram<T, P> where
    P: Sync,
    T: Sync

impl<T, P> Unpin for SendDgram<T, P> where
    P: Unpin,
    T: Unpin

impl<T, P> !UnwindSafe for SendDgram<T, P>

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<F> IntoFuture for F where
    F: Future
[src]

type Future = F

The future that this type can be converted into.

type Item = <F as Future>::Item

The item that the future may resolve with.

type Error = <F as Future>::Error

The error that the future may resolve with.

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.