pub trait Future<A>where
A: Actor,{
type Output;
// Required methods
fn poll(
self: Pin<&mut Self>,
act: &mut A,
ctx: &mut Context<A>,
cx: &mut CoreContext<'_>
) -> Poll<Self::Output>;
fn downcast_ref(&self) -> Option<&dyn Any>;
fn downcast_mut(self: Pin<&mut Self>) -> Option<Pin<&mut dyn Any>>;
}
Expand description
An abstraction for Actor’s Future routine