pub trait Instance: Instance + 'static {
type EventInterrupt: Interrupt;
type ErrorInterrupt: Interrupt;
}
Expand description
I2C peripheral instance
Required Associated Types§
Sourcetype EventInterrupt: Interrupt
type EventInterrupt: Interrupt
Event interrupt for this instance
Sourcetype ErrorInterrupt: Interrupt
type ErrorInterrupt: Interrupt
Error interrupt for this instance
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.