Struct Empty
struct Empty<T> { ... }
Stream for the empty function.
Implementations
impl<S> TryStreamExt for Empty<T>
impl<S, T, E> TryStream for Empty<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 Empty<T>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Empty<T>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Empty<T>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> Clone for Empty<T>
fn clone(self: &Self) -> Self
impl<T> CloneToUninit for Empty<T>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> Freeze for Empty<T>
impl<T> From for Empty<T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> FusedStream for Empty<T>
fn is_terminated(self: &Self) -> bool
impl<T> RefUnwindSafe for Empty<T>
impl<T> Send for Empty<T>
impl<T> Stream for Empty<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 Empty<T>
impl<T> Sync for Empty<T>
impl<T> ToOwned for Empty<T>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> Unpin for Empty<T>
impl<T> UnsafeUnpin for Empty<T>
impl<T> UnwindSafe for Empty<T>
impl<T, U> Into for Empty<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 Empty<T>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Empty<T>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T: $crate::fmt::Debug> Debug for Empty<T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result