(&mut self)
| 28 | } |
| 29 | |
| 30 | pub(super) fn span(&mut self) -> TimerGuard<'_> { |
| 31 | TimerGuard { |
| 32 | timer: self, |
| 33 | start: Instant::now(), |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | pub(super) fn time<T, F: FnOnce() -> T>(&mut self, f: F) -> T { |
| 38 | let now = Instant::now(); |
no outgoing calls
no test coverage detected