(&mut self, phase: Phase)
| 636 | } |
| 637 | |
| 638 | fn switch(&mut self, phase: Phase) { |
| 639 | self.cx.phase.set(phase); |
| 640 | |
| 641 | #[cfg(feature = "tracing")] |
| 642 | { |
| 643 | let _ = mem::replace(&mut self.span, tracing::Span::none().entered()); |
| 644 | self.span = Self::span_for(&self.cx.metrics, phase).entered(); |
| 645 | } |
| 646 | } |
| 647 | |
| 648 | fn log_progress(&mut self, #[allow(unused)] message: &str) { |
| 649 | // TODO: add more infos here |
no test coverage detected