pub trait Error: Debug {
// Required method
fn kind(&self) -> ErrorKind;
}Expand description
Trait that RTC driver error types should implement.
Allows converting driver-specific errors into standard categories.
Drivers can either define custom error types or use ErrorKind directly.