#[non_exhaustive]pub enum I2cError<I2C> {
I2c(I2C),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
I2c(I2C)
Trait Implementations§
impl<I2C: Eq> Eq for I2cError<I2C>
impl<I2C> StructuralPartialEq for I2cError<I2C>
Auto Trait Implementations§
impl<I2C> Freeze for I2cError<I2C>where
I2C: Freeze,
impl<I2C> RefUnwindSafe for I2cError<I2C>where
I2C: RefUnwindSafe,
impl<I2C> Send for I2cError<I2C>where
I2C: Send,
impl<I2C> Sync for I2cError<I2C>where
I2C: Sync,
impl<I2C> Unpin for I2cError<I2C>where
I2C: Unpin,
impl<I2C> UnwindSafe for I2cError<I2C>where
I2C: 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