3 use std::future::Future;
7 type Future: Future<Output = Self::Response>;
10 pub trait A1: Service<Response = i32> {}
12 pub trait A2: Service<Future = Box<dyn Future<Output = i32>>> + A1 {
16 pub trait B1: Service<Future = Box<dyn Future<Output = i32>>> {}
18 pub trait B2: Service<Response = i32> + B1 {
23 let x: &dyn A2 = todo!();
24 let x: &dyn B2 = todo!();