Enum max7219_driver::DriverError
source · [−]pub enum DriverError {
SpiError,
PinError,
}Expand description
Possible Errors that can be raised either during communication with the MAX7219 chip over SPI or controlling the chip select pin.
Variants
SpiError
An error occurred when working with SPI
PinError
An error occurred when working with a PIN
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DriverError
impl Send for DriverError
impl Sync for DriverError
impl Unpin for DriverError
impl UnwindSafe for DriverError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more