- Intra-task concurrent, because the child tasks can opt-in to multi-task concurrency.
pub trait Service {
type Output;
fn serve(&mut self) -> impl Future<Output = Self::Output>;
}
pub trait Service {
type Output;
fn serve(&mut self) -> impl Future<Output = Self::Output>;
}