pub enum DriverError<ResetError, I2cError> {
I2cError(I2cError),
ResetError(ResetError),
}Expand description
Driver Errors
Variants§
I2cError(I2cError)
Error originating from the I2C bus.
ResetError(ResetError)
Error originating from the reset pin control.
Trait Implementations§
Auto Trait Implementations§
impl<ResetError, I2cError> Freeze for DriverError<ResetError, I2cError>
impl<ResetError, I2cError> RefUnwindSafe for DriverError<ResetError, I2cError>where
I2cError: RefUnwindSafe,
ResetError: RefUnwindSafe,
impl<ResetError, I2cError> Send for DriverError<ResetError, I2cError>
impl<ResetError, I2cError> Sync for DriverError<ResetError, I2cError>
impl<ResetError, I2cError> Unpin for DriverError<ResetError, I2cError>
impl<ResetError, I2cError> UnsafeUnpin for DriverError<ResetError, I2cError>where
I2cError: UnsafeUnpin,
ResetError: UnsafeUnpin,
impl<ResetError, I2cError> UnwindSafe for DriverError<ResetError, I2cError>where
I2cError: UnwindSafe,
ResetError: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more