pub enum Error<I2CError> {
I2C(I2CError),
InvalidChipID,
}Expand description
Errors that can occur when using the CS43L22 driver
Variants§
I2C(I2CError)
I2C communication error
InvalidChipID
Invalid chip ID This error is returned when the chip ID read from the CS43L22 is invalid
Trait Implementations§
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> UnsafeUnpin for Error<I2CError>where
I2CError: UnsafeUnpin,
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