pub enum MapErr<Fut, F> {
    Incomplete {
        future: Fut,
        f: F,
    },
    Complete,
}Expand description
Future for the map method.
Variants§
Trait Implementations§
Source§impl<U, Fut, A, F> ActorFuture<A> for MapErr<Fut, F>
 
impl<U, Fut, A, F> ActorFuture<A> for MapErr<Fut, F>
impl<'__pin, Fut, F> Unpin for MapErr<Fut, F>where
    PinnedFieldsOf<__Origin<'__pin, Fut, F>>: Unpin,
Auto Trait Implementations§
impl<Fut, F> Freeze for MapErr<Fut, F>
impl<Fut, F> RefUnwindSafe for MapErr<Fut, F>where
    Fut: RefUnwindSafe,
    F: RefUnwindSafe,
impl<Fut, F> Send for MapErr<Fut, F>
impl<Fut, F> Sync for MapErr<Fut, F>
impl<Fut, F> UnwindSafe for MapErr<Fut, F>where
    Fut: UnwindSafe,
    F: UnwindSafe,
Blanket Implementations§
Source§impl<F, A> ActorFutureExt<A> for Fwhere
    F: ActorFuture<A>,
    A: Actor,
 
impl<F, A> ActorFutureExt<A> for Fwhere
    F: ActorFuture<A>,
    A: Actor,
Source§fn map<F, U>(self, f: F) -> Map<Self, F>
 
fn map<F, U>(self, f: F) -> Map<Self, F>
Map this future’s result to a different type, returning a new future of
the resulting type.
Source§fn then<F, Fut>(self, f: F) -> Then<Self, Fut, F>
 
fn then<F, Fut>(self, f: F) -> Then<Self, Fut, F>
Chain on a computation for when a future finished, passing the result of
the future to the provided closure 
f.Source§fn timeout(self, timeout: Duration) -> Timeout<Self>where
    Self: Sized,
 
fn timeout(self, timeout: Duration) -> Timeout<Self>where
    Self: Sized,
Add timeout to futures chain. Read more
Source§fn boxed_local(self) -> LocalBoxActorFuture<A, Self::Output>where
    Self: Sized + 'static,
 
fn boxed_local(self) -> LocalBoxActorFuture<A, Self::Output>where
    Self: Sized + 'static,
Wrap the future in a Box, pinning it. Read more
Source§impl<A, F, T, E> ActorTryFuture<A> for F
 
impl<A, F, T, E> ActorTryFuture<A> for F
Source§impl<A, F> ActorTryFutureExt<A> for F
 
impl<A, F> ActorTryFutureExt<A> for F
Source§fn and_then<Fut, F>(self, f: F) -> AndThen<Self, Fut, F>
 
fn and_then<Fut, F>(self, f: F) -> AndThen<Self, Fut, F>
Executes another actor future after this one resolves successfully.
The success value is passed to a closure to create this subsequent
actor future. 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