pub enum Error<CommE, PinE> {
Comm(CommE),
Pin(PinE),
NoSignal,
UnknownChipId,
Unresponsive,
}Expand description
Errors in this crate
Variants§
Comm(CommE)
Sensor communication error
Pin(PinE)
Pin setting error
NoSignal
Poor signal quality / insufficient light or texture
UnknownChipId
Unrecognized chip ID
Unresponsive
Sensor not responding
Trait Implementations§
Auto Trait Implementations§
impl<CommE, PinE> Freeze for Error<CommE, PinE>
impl<CommE, PinE> RefUnwindSafe for Error<CommE, PinE>where
CommE: RefUnwindSafe,
PinE: RefUnwindSafe,
impl<CommE, PinE> Send for Error<CommE, PinE>
impl<CommE, PinE> Sync for Error<CommE, PinE>
impl<CommE, PinE> Unpin for Error<CommE, PinE>
impl<CommE, PinE> UnwindSafe for Error<CommE, PinE>where
CommE: UnwindSafe,
PinE: 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