Skip to main content

try_lock_failure_count

Function try_lock_failure_count 

Source
pub fn try_lock_failure_count() -> u64
Expand description

Return the current lifetime total of try_lock() failures.

Intended for periodic telemetry reporting (e.g., once per second in about_to_wait in crate::app::handler::window_state_impl).