pub struct SorterStats {
pub in_memory_sorts: u64,
pub external_sorts: u64,
pub active_external_sorts: u32,
pub fd_permits_available: u32,
pub fd_permits_total: u32,
}Expand description
Observability counters reported by crate::SorterHandle::stats.
Fields§
§in_memory_sorts: u64Sorts admitted on the in-memory path since startup.
external_sorts: u64Sorts admitted on the external (spilling) path since startup.
active_external_sorts: u32External sorts currently admitted (holding or awaiting fd permits).
fd_permits_available: u32File-descriptor permits currently available to new external sorts.
fd_permits_total: u32Total file-descriptor permits the Sorter rations.
Trait Implementations§
Source§impl Clone for SorterStats
impl Clone for SorterStats
Source§fn clone(&self) -> SorterStats
fn clone(&self) -> SorterStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SorterStats
Source§impl Debug for SorterStats
impl Debug for SorterStats
Source§impl Default for SorterStats
impl Default for SorterStats
Source§fn default() -> SorterStats
fn default() -> SorterStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SorterStats
impl RefUnwindSafe for SorterStats
impl Send for SorterStats
impl Sync for SorterStats
impl Unpin for SorterStats
impl UnsafeUnpin for SorterStats
impl UnwindSafe for SorterStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more