Skip to main content

ClientWithValue

Trait ClientWithValue 

Source
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§

Source

fn fired(&self, value: u32)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§