//! A point-in-time snapshot of the Sorter's governance counters.
/// Observability counters reported by [`crate::SorterHandle::stats`].
#[derive(Debug, Clone, Copy, Default)]pubstructSorterStats{/// Sorts admitted on the in-memory path since startup.
pubin_memory_sorts:u64,
/// Sorts admitted on the external (spilling) path since startup.
pubexternal_sorts:u64,
/// External sorts currently admitted (holding or awaiting fd permits).
pubactive_external_sorts:u32,
/// File-descriptor permits currently available to new external sorts.
pubfd_permits_available:u32,
/// Total file-descriptor permits the Sorter rations.
pubfd_permits_total:u32,
}