| 4 | pub mod executor; |
| 5 | |
| 6 | pub struct Task { |
| 7 | id: TaskId, |
| 8 | future: Pin<Box<dyn Future<Output = ()>>>, |
| 9 | } |
| 10 | impl Task { |
| 11 | pub fn new(future: impl Future<Output = ()> + 'static) -> Task { |
| 12 | Task { |
nothing calls this directly
no outgoing calls
no test coverage detected