Enum bme280_multibus::spi::Error
source · [−]pub enum Error<SpiError, PinError> {
Spi(SpiError),
Pin(PinError),
}Expand description
BME280 error type.
Variants
Spi(SpiError)
SPI bus error wrapper.
Pin(PinError)
GPIO pin error wrapper.
Trait Implementations
Auto Trait Implementations
impl<SpiError, PinError> RefUnwindSafe for Error<SpiError, PinError> where
PinError: RefUnwindSafe,
SpiError: RefUnwindSafe,
impl<SpiError, PinError> Send for Error<SpiError, PinError> where
PinError: Send,
SpiError: Send,
impl<SpiError, PinError> Sync for Error<SpiError, PinError> where
PinError: Sync,
SpiError: Sync,
impl<SpiError, PinError> Unpin for Error<SpiError, PinError> where
PinError: Unpin,
SpiError: Unpin,
impl<SpiError, PinError> UnwindSafe for Error<SpiError, PinError> where
PinError: UnwindSafe,
SpiError: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more