pub enum Error<I2C_ERR> {
I2cError(I2C_ERR),
InterruptPinError,
RowOutOfRange,
ColumnOutOfRange,
}Expand description
Errors that can occur when using the LCD backpack
Variants§
I2cError(I2C_ERR)
I2C error returned from the underlying I2C implementation
InterruptPinError
The MCP23008 interrupt pin is not found
RowOutOfRange
Row is out of range
ColumnOutOfRange
Column is out of range
Trait Implementations§
Auto Trait Implementations§
impl<I2C_ERR> Freeze for Error<I2C_ERR>where
I2C_ERR: Freeze,
impl<I2C_ERR> RefUnwindSafe for Error<I2C_ERR>where
I2C_ERR: RefUnwindSafe,
impl<I2C_ERR> Send for Error<I2C_ERR>where
I2C_ERR: Send,
impl<I2C_ERR> Sync for Error<I2C_ERR>where
I2C_ERR: Sync,
impl<I2C_ERR> Unpin for Error<I2C_ERR>where
I2C_ERR: Unpin,
impl<I2C_ERR> UnwindSafe for Error<I2C_ERR>where
I2C_ERR: 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