pub enum Error<I2cError> {
I2c(I2cError),
Crc,
}
Expand description
Error conditions returned from struct Sensor
member functions.
Variants§
Trait Implementations§
impl<I2cError: Copy> Copy for Error<I2cError>
Auto Trait Implementations§
impl<I2cError> Freeze for Error<I2cError>where
I2cError: Freeze,
impl<I2cError> RefUnwindSafe for Error<I2cError>where
I2cError: RefUnwindSafe,
impl<I2cError> Send for Error<I2cError>where
I2cError: Send,
impl<I2cError> Sync for Error<I2cError>where
I2cError: Sync,
impl<I2cError> Unpin for Error<I2cError>where
I2cError: Unpin,
impl<I2cError> UnwindSafe for Error<I2cError>where
I2cError: 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