pub enum Error<B> {
Bus(B),
Sample,
}Expand description
Sampling error.
Variants§
Bus(B)
Bus error.
Sample
Sample error.
This is returned when the sample registers hold the reset value. This may indicate:
- The power-on-time delay was not observed.
Oversampling::Skipwas used for humidity, temperature, or pressure.- The BME280 was not configured.
Trait Implementations§
impl<B: Eq> Eq for Error<B>
impl<B> StructuralPartialEq for Error<B>
Auto Trait Implementations§
impl<B> Freeze for Error<B>where
B: Freeze,
impl<B> RefUnwindSafe for Error<B>where
B: RefUnwindSafe,
impl<B> Send for Error<B>where
B: Send,
impl<B> Sync for Error<B>where
B: Sync,
impl<B> Unpin for Error<B>where
B: Unpin,
impl<B> UnwindSafe for Error<B>where
B: 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