Struct Repeat

struct Repeat<T> { ... }

Stream for the repeat function.

Implementations

impl<S> TryStreamExt for Repeat<T>

impl<S, T, E> TryStream for Repeat<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 Repeat<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Repeat<T>

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

impl<T> BorrowMut for Repeat<T>

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

impl<T> CloneToUninit for Repeat<T>

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

impl<T> Freeze for Repeat<T>

impl<T> From for Repeat<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> FusedStream for Repeat<T>

fn is_terminated(self: &Self) -> bool

impl<T> RefUnwindSafe for Repeat<T>

impl<T> Send for Repeat<T>

impl<T> Stream for Repeat<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 Repeat<T>

impl<T> Sync for Repeat<T>

impl<T> ToOwned for Repeat<T>

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

impl<T> Unpin for Repeat<T>

impl<T> UnsafeUnpin for Repeat<T>

impl<T> UnwindSafe for Repeat<T>

impl<T, U> Into for Repeat<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 Repeat<T>

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

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

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

impl<T: $crate::clone::Clone> Clone for Repeat<T>

fn clone(self: &Self) -> Repeat<T>

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

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