pub enum SensorError {
ChecksumMismatch,
Timeout,
PinError,
}
Expand description
Possible errors when interacting with the sensor.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SensorError
impl RefUnwindSafe for SensorError
impl Send for SensorError
impl Sync for SensorError
impl Unpin for SensorError
impl UnwindSafe for SensorError
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