| 83 | } |
| 84 | |
| 85 | pub trait ImplNetwork { |
| 86 | fn ping(&self) -> String; |
| 87 | |
| 88 | #[allow(clippy::type_complexity)] |
| 89 | fn wait(&self, d: u64) -> Pin<Box<dyn Future<Output = Result<String, Box<dyn error::Error>>>>>; |
| 90 | |
| 91 | fn get(&self) -> u32; |
| 92 | |
| 93 | fn inc(&mut self); |
| 94 | } |
| 95 | |
| 96 | pub struct ObjNetwork { |
| 97 | c: u32, |
nothing calls this directly
no outgoing calls
no test coverage detected