pub trait CounterOverflow<'a>: Counter<'a> {
// Required method
fn set_overflow_client(&self, client: &'a dyn OverflowClient);
}👎Deprecated:
set_overflow_client never used so moved to an independent trait. Set to be removed in future releases unless a concrete use case is raised.
Expand description
Extension trait for counters that support hardware overflow notifications.
Required Methods§
fn set_overflow_client(&self, client: &'a dyn OverflowClient)
👎Deprecated:
set_overflow_client never used so moved to an independent trait. Set to be removed in future releases unless a concrete use case is raised.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".