[][src]Struct futures_util::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: Debug, Item: Debug> Debug for IntoSink<W, Item>[src]

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

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

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
[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
[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, Item> SinkExt<Item> for T where
    T: Sink<Item> + ?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.