pub trait WrapFuture<A>where
    A: Actor,{
    type Future: ActorFuture<A>;
    // Required method
    fn into_actor(self, a: &A) -> Self::Future;
}Expand description
Helper trait that allows conversion of normal future into ActorFuture
Required Associated Types§
Sourcetype Future: ActorFuture<A>
 
type Future: ActorFuture<A>
The future that this type can be converted into.
Required Methods§
Sourcefn into_actor(self, a: &A) -> Self::Future
 
fn into_actor(self, a: &A) -> Self::Future
Convert normal future to a ActorFuture