Struct futures_util::stream::Cycle
source · [−]pub struct Cycle<St> { /* private fields */ }
Expand description
Stream for the cycle
method.
Trait Implementations
sourceimpl<St> FusedStream for Cycle<St>where
St: Clone + Stream,
impl<St> FusedStream for Cycle<St>where
St: Clone + Stream,
sourcefn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true
if the stream should no longer be polled.sourceimpl<St> Stream for Cycle<St>where
St: Clone + Stream,
impl<St> Stream for Cycle<St>where
St: Clone + Stream,
impl<'__pin, St> Unpin for Cycle<St>where
__Origin<'__pin, St>: Unpin,
Auto Trait Implementations
impl<St> RefUnwindSafe for Cycle<St>where
St: RefUnwindSafe,
impl<St> Send for Cycle<St>where
St: Send,
impl<St> Sync for Cycle<St>where
St: Sync,
impl<St> UnwindSafe for Cycle<St>where
St: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more