pub struct Map<S, F> { /* private fields */ }Expand description
Stream for the map method.
Trait Implementations§
Source§impl<S, A, F, U> ActorStream<A> for Map<S, F>
 
impl<S, A, F, U> ActorStream<A> for Map<S, F>
impl<'__pin, S, F> Unpin for Map<S, F>where
    PinnedFieldsOf<__Origin<'__pin, S, F>>: Unpin,
Auto Trait Implementations§
impl<S, F> Freeze for Map<S, F>
impl<S, F> RefUnwindSafe for Map<S, F>where
    S: RefUnwindSafe,
    F: RefUnwindSafe,
impl<S, F> Send for Map<S, F>
impl<S, F> Sync for Map<S, F>
impl<S, F> UnwindSafe for Map<S, F>where
    S: UnwindSafe,
    F: 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