pub trait ActorRun<Ctx> {
// Required method
fn run<'run>(
self,
context: &'run mut Ctx,
) -> impl Future<Output = Never> + Send + 'run
where Self: Sized + 'run;
}pub trait ActorRun<Ctx> {
// Required method
fn run<'run>(
self,
context: &'run mut Ctx,
) -> impl Future<Output = Never> + Send + 'run
where Self: Sized + 'run;
}