Drain all of the actions for introspection.
(&self)
| 383 | |
| 384 | /// Drain all of the actions for introspection. |
| 385 | pub fn drain(&self) -> Vec<CatalogItemId> { |
| 386 | self.reads |
| 387 | .lock() |
| 388 | .expect("TracingSecretsController panicked!") |
| 389 | .drain(..) |
| 390 | .collect() |
| 391 | } |
| 392 | |
| 393 | /// Record that an action has occurred. |
| 394 | fn record(&self, id: CatalogItemId) { |