(&self, f: &mut std::fmt::Formatter<'_>)
| 87 | |
| 88 | impl std::fmt::Debug for SupervisorSessionRegistry { |
| 89 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 90 | let session_count = self.sessions.lock().unwrap().len(); |
| 91 | let pending_count = self.pending_relays.lock().unwrap().len(); |
| 92 | f.debug_struct("SupervisorSessionRegistry") |
| 93 | .field("sessions", &session_count) |
| 94 | .field("pending_relays", &pending_count) |
| 95 | .finish() |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | impl SupervisorSessionRegistry { |