(&self, f: &mut std::fmt::Formatter<'_>)
| 218 | |
| 219 | impl std::fmt::Debug for HookEngine { |
| 220 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 221 | f.debug_struct("HookEngine") |
| 222 | .field("hooks_count", &read_or_recover(&self.hooks).len()) |
| 223 | .field("handlers_count", &read_or_recover(&self.handlers).len()) |
| 224 | .field("has_event_channel", &self.event_tx.is_some()) |
| 225 | .finish() |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | impl Default for HookEngine { |
nothing calls this directly
no test coverage detected