pub trait ClientWithValue {
// Required method
fn fired(&self, value: u32);
}Expand description
Interfaces for users of GPIO interrupts who handle many interrupts with the same function. The value passed in the callback allows the callback to distinguish which interrupt fired.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".