[][src]Struct futures::io::IntoSink

#[must_use = "sinks do nothing unless polled"]pub struct IntoSink<W, Item> { /* fields omitted */ }

Sink for the into_sink method.

Trait Implementations

impl<W, Item> Debug for IntoSink<W, Item> where
    Item: Debug,
    W: Debug

impl<W, Item> Sink<Item> for IntoSink<W, Item> where
    Item: AsRef<[u8]>,
    W: AsyncWrite

type Error = Error

The type of value produced by the sink when an error occurs.

impl<'pin, W, Item> Unpin for IntoSink<W, Item> where
    __IntoSink<'pin, W, Item>: Unpin

impl<W, Item> UnsafeUnpin for IntoSink<W, Item>[src]

Auto Trait Implementations

impl<W, Item> RefUnwindSafe for IntoSink<W, Item> where
    Item: RefUnwindSafe,
    W: RefUnwindSafe

impl<W, Item> Send for IntoSink<W, Item> where
    Item: Send,
    W: Send

impl<W, Item> Sync for IntoSink<W, Item> where
    Item: Sync,
    W: Sync

impl<W, Item> UnwindSafe for IntoSink<W, Item> where
    Item: UnwindSafe,
    W: UnwindSafe

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, Item> SinkExt<Item> for T where
    T: Sink<Item> + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.