Trait actix::prelude::ContextFutureSpawner
source · pub trait ContextFutureSpawner<A>{
// Required methods
fn spawn(self, ctx: &mut A::Context);
fn wait(self, ctx: &mut A::Context);
}
Expand description
Helper trait which can spawn a future into the actor’s context.