pub trait ErrorType {
type Error: Error;
}Expand description
I2C error type trait.
This just defines the error type, to be used by the other traits.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".