pub trait Handler: 'static {
// Required method
fn event(&self);
}Available on crate feature
api-gpio only.Expand description
Provides callback support for GPIO events.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".