Struct Drain
struct Drain<T> { ... }
Sink for the drain function.
Implementations
impl<T> Any for Drain<T>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Drain<T>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Drain<T>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> Clone for Drain<T>
fn clone(self: &Self) -> Self
impl<T> CloneToUninit for Drain<T>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> Freeze for Drain<T>
impl<T> From for Drain<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> RefUnwindSafe for Drain<T>
impl<T> Send for Drain<T>
impl<T> Sink for Drain<T>
fn poll_ready(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<Result<(), <Self as >::Error>>fn start_send(self: Pin<&mut Self>, _item: T) -> 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>>
impl<T> Sync for Drain<T>
impl<T> ToOwned for Drain<T>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> Unpin for Drain<T>
impl<T> UnsafeUnpin for Drain<T>
impl<T> UnwindSafe for Drain<T>
impl<T, Item> SinkExt for Drain<T>
impl<T, U> Into for Drain<T>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Drain<T>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Drain<T>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T: $crate::fmt::Debug> Debug for Drain<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result