pub struct SkipWhile<S, I, F, Fut> { /* private fields */ }
Expand description
Stream for the skip_while
method.
Trait Implementations§
Source§impl<S, A, F, Fut> ActorStream<A> for SkipWhile<S, S::Item, F, Fut>where
S: ActorStream<A>,
A: Actor,
F: FnMut(&S::Item, &mut A, &mut A::Context) -> Fut,
Fut: ActorFuture<A, Output = bool>,
impl<S, A, F, Fut> ActorStream<A> for SkipWhile<S, S::Item, F, Fut>where
S: ActorStream<A>,
A: Actor,
F: FnMut(&S::Item, &mut A, &mut A::Context) -> Fut,
Fut: ActorFuture<A, Output = bool>,
impl<'__pin, S, I, F, Fut> Unpin for SkipWhile<S, I, F, Fut>where
PinnedFieldsOf<__Origin<'__pin, S, I, F, Fut>>: Unpin,
Auto Trait Implementations§
impl<S, I, F, Fut> Freeze for SkipWhile<S, I, F, Fut>
impl<S, I, F, Fut> RefUnwindSafe for SkipWhile<S, I, F, Fut>
impl<S, I, F, Fut> Send for SkipWhile<S, I, F, Fut>
impl<S, I, F, Fut> Sync for SkipWhile<S, I, F, Fut>
impl<S, I, F, Fut> UnwindSafe for SkipWhile<S, I, F, Fut>
Blanket Implementations§
Source§impl<A, S> ActorStreamExt<A> for Swhere
S: ActorStream<A>,
A: Actor,
impl<A, S> ActorStreamExt<A> for Swhere
S: ActorStream<A>,
A: Actor,
Source§fn map<F, U>(self, f: F) -> Map<Self, F>
fn map<F, U>(self, f: F) -> Map<Self, F>
Maps this stream’s items to a different type, returning a new stream of
the resulting type. Read more
Source§fn then<F, Fut>(self, f: F) -> Then<Self, F, Fut>
fn then<F, Fut>(self, f: F) -> Then<Self, F, Fut>
Computes from this stream’s items new items of a different type using
an asynchronous closure. Read more
Source§fn fold<F, Fut>(
self,
init: Fut::Output,
f: F,
) -> Fold<Self, F, Fut, Fut::Output>
fn fold<F, Fut>( self, init: Fut::Output, f: F, ) -> Fold<Self, F, Fut, Fut::Output>
Execute an accumulating asynchronous computation over a stream,
collecting all the values into one final result. Read more
Source§fn take_while<F, Fut>(self, f: F) -> TakeWhile<Self, Self::Item, F, Fut>
fn take_while<F, Fut>(self, f: F) -> TakeWhile<Self, Self::Item, F, Fut>
Take elements from this stream while the provided asynchronous predicate
resolves to
true
. Read moreSource§fn skip_while<F, Fut>(self, f: F) -> SkipWhile<Self, Self::Item, F, Fut>
fn skip_while<F, Fut>(self, f: F) -> SkipWhile<Self, Self::Item, F, Fut>
Skip elements on this stream while the provided asynchronous predicate
resolves to
true
. Read moreSource§fn timeout(self, timeout: Duration) -> Timeout<Self>where
Self: Sized,
fn timeout(self, timeout: Duration) -> Timeout<Self>where
Self: Sized,
Add timeout to stream. Read more
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more