(&self)
| 47 | } |
| 48 | |
| 49 | pub(super) async fn stats(&self) -> SessionQueueStats { |
| 50 | match &self.session.command_queue { |
| 51 | Some(queue) => queue.stats().await, |
| 52 | None => SessionQueueStats::default(), |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | pub(super) async fn metrics(&self) -> Option<MetricsSnapshot> { |
| 57 | match &self.session.command_queue { |
no outgoing calls