pub trait Channel:
PeripheralType
+ SealedChannel
+ Sized
+ 'static {
type Instance: GpioteInstance;
type Interrupt: Interrupt;
// Provided method
fn number(&self) -> usize { ... }
}Expand description
GPIOTE channel trait.
Implemented by all GPIOTE channels.
Required Associated Types§
Sourcetype Instance: GpioteInstance
type Instance: GpioteInstance
GPIOTE instance this channel belongs to.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".