#[non_exhaustive]pub enum Error<ERR> {
Ack,
Digital(ERR),
}Expand description
An Error type for the TM1637 driver.
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.
Ack
Available on crate feature
ack only.Acknowledge error. The display did not acknowledge the sent byte.
Digital(ERR)
Digital error.
Trait Implementations§
Auto Trait Implementations§
impl<ERR> Freeze for Error<ERR>where
ERR: Freeze,
impl<ERR> RefUnwindSafe for Error<ERR>where
ERR: RefUnwindSafe,
impl<ERR> Send for Error<ERR>where
ERR: Send,
impl<ERR> Sync for Error<ERR>where
ERR: Sync,
impl<ERR> Unpin for Error<ERR>where
ERR: Unpin,
impl<ERR> UnwindSafe for Error<ERR>where
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