pub struct WindowsFetchDataWaiterMetrics { /* private fields */ }Expand description
Monotonic process-local counters for active fetch waiters and cancellation matching.
Implementations§
Source§impl WindowsFetchDataWaiterMetrics
impl WindowsFetchDataWaiterMetrics
Sourcepub const fn active_waiters(self) -> usize
pub const fn active_waiters(self) -> usize
Returns the number of hydration waiters currently registered for native cancellation.
Sourcepub const fn registered_waiters(self) -> u64
pub const fn registered_waiters(self) -> u64
Returns the total number of waiters registered since this registry was created.
Sourcepub const fn cancellation_callbacks(self) -> u64
pub const fn cancellation_callbacks(self) -> u64
Returns the total number of cancellation callbacks applied to this registry.
Sourcepub const fn unmatched_cancellations(self) -> u64
pub const fn unmatched_cancellations(self) -> u64
Returns cancellation callbacks that matched no active waiter range.
Sourcepub const fn fully_matched_waiters(self) -> u64
pub const fn fully_matched_waiters(self) -> u64
Returns active waiters whose complete logical range was covered by a cancellation.
Sourcepub const fn partially_matched_waiters(self) -> u64
pub const fn partially_matched_waiters(self) -> u64
Returns active waiters retained because cancellation covered only part of their range.
Sourcepub const fn cancelled_waiters(self) -> u64
pub const fn cancelled_waiters(self) -> u64
Returns waiter cancellations that won the core terminal race.
Sourcepub const fn already_cancelled_waiters(self) -> u64
pub const fn already_cancelled_waiters(self) -> u64
Returns full-range cancellations repeated before the cancelled waiter unregistered.
Sourcepub const fn completion_races(self) -> u64
pub const fn completion_races(self) -> u64
Returns full-range cancellations that lost to normal waiter completion.
Sourcepub const fn watchdog_timeouts(self) -> u64
pub const fn watchdog_timeouts(self) -> u64
Returns waiters cancelled by the local callback watchdog.
Sourcepub const fn progress_callbacks(self) -> u64
pub const fn progress_callbacks(self) -> u64
Returns provider progress samples accepted by the registry.
Sourcepub const fn progress_updates(self) -> u64
pub const fn progress_updates(self) -> u64
Returns progress samples that refreshed at least one active waiter deadline.
Trait Implementations§
Source§impl Clone for WindowsFetchDataWaiterMetrics
impl Clone for WindowsFetchDataWaiterMetrics
Source§fn clone(&self) -> WindowsFetchDataWaiterMetrics
fn clone(&self) -> WindowsFetchDataWaiterMetrics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for WindowsFetchDataWaiterMetrics
impl Default for WindowsFetchDataWaiterMetrics
Source§fn default() -> WindowsFetchDataWaiterMetrics
fn default() -> WindowsFetchDataWaiterMetrics
Source§impl PartialEq for WindowsFetchDataWaiterMetrics
impl PartialEq for WindowsFetchDataWaiterMetrics
Source§fn eq(&self, other: &WindowsFetchDataWaiterMetrics) -> bool
fn eq(&self, other: &WindowsFetchDataWaiterMetrics) -> bool
self and other values to be equal, and is used by ==.