Struct Pending

struct Pending<T> { ... }

Stream for the [pending()] function.

Implementations

impl<S> TryStreamExt for Pending<T>

impl<S, T, E> TryStream for Pending<T>

fn try_poll_next(self: Pin<&mut S>, cx: &mut Context<'_>) -> Poll<Option<Result<<S as TryStream>::Ok, <S as TryStream>::Error>>>

impl<T> Any for Pending<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Pending<T>

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

impl<T> BorrowMut for Pending<T>

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

impl<T> Clone for Pending<T>

fn clone(self: &Self) -> Self

impl<T> CloneToUninit for Pending<T>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> Freeze for Pending<T>

impl<T> From for Pending<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FusedStream for Pending<T>

fn is_terminated(self: &Self) -> bool

impl<T> RefUnwindSafe for Pending<T>

impl<T> Send for Pending<T>

impl<T> Stream for Pending<T>

fn poll_next(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Option<<Self as >::Item>>
fn size_hint(self: &Self) -> (usize, Option<usize>)

impl<T> StreamExt for Pending<T>

impl<T> Sync for Pending<T>

impl<T> ToOwned for Pending<T>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> Unpin for Pending<T>

impl<T> UnsafeUnpin for Pending<T>

impl<T> UnwindSafe for Pending<T>

impl<T, U> Into for Pending<T>

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 Pending<T>

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

impl<T, U> TryInto for Pending<T>

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

impl<T: $crate::fmt::Debug> Debug for Pending<T>

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