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