Struct IntoSink

struct IntoSink<W, Item> { ... }

Sink for the into_sink method.

Implementations

impl<'__pin, W, Item> Unpin for IntoSink<W, Item>

impl<T> Any for IntoSink<W, Item>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IntoSink<W, Item>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for IntoSink<W, Item>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for IntoSink<W, Item>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, Item> SinkExt for IntoSink<W, Item>

impl<T, U> Into for IntoSink<W, Item>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for IntoSink<W, Item>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for IntoSink<W, Item>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<W, Item> Freeze for IntoSink<W, Item>

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

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

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

impl<W, Item> UnsafeUnpin for IntoSink<W, Item>

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

impl<W: $crate::fmt::Debug, Item: $crate::fmt::Debug> Debug for IntoSink<W, Item>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

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

fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), <Self as >::Error>>
fn start_send(self: Pin<&mut Self>, item: Item) -> Result<(), <Self as >::Error>
fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), <Self as >::Error>>
fn poll_close(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), <Self as >::Error>>