7 fn call(&self, _req: Self::Request);
10 pub struct S<T>(#[allow(unused_tuple_struct_fields)] T);
12 impl Service for ClientMap {
13 type Request = S<Box<dyn Fn(i32)>>;
14 fn call(&self, _req: Self::Request) {}
18 impl Service for ClientMap2 {
19 type Request = (Box<dyn Fn(i32)>,);
20 fn call(&self, _req: Self::Request) {}
25 ClientMap.call(S { 0: Box::new(|_msgid| ()) });
26 ClientMap.call(S(Box::new(|_msgid| ())));
27 ClientMap2.call((Box::new(|_msgid| ()),));