(&mut self)
| 33 | |
| 34 | impl IdWaker { |
| 35 | pub fn wake(&mut self) { |
| 36 | let old = core::mem::replace(self, Self::Done); |
| 37 | if let IdWaker::Waker(e) = old { |
| 38 | e.wake(); |
| 39 | } else { |
| 40 | log::error!("Nothing to wake"); |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | lazy_static! { |
no outgoing calls
no test coverage detected