pub struct StreamWrap<S, A>{ /* private fields */ }
Trait Implementations§
Source§impl<S, A> ActorStream<A> for StreamWrap<S, A>
impl<S, A> ActorStream<A> for StreamWrap<S, A>
impl<'__pin, S, A> Unpin for StreamWrap<S, A>
Auto Trait Implementations§
impl<S, A> Freeze for StreamWrap<S, A>where
S: Freeze,
impl<S, A> RefUnwindSafe for StreamWrap<S, A>where
S: RefUnwindSafe,
A: RefUnwindSafe,
impl<S, A> Send for StreamWrap<S, A>
impl<S, A> Sync for StreamWrap<S, A>
impl<S, A> UnwindSafe for StreamWrap<S, A>where
S: UnwindSafe,
A: UnwindSafe,
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