Struct lsm303agr::ModeChangeError
source · pub struct ModeChangeError<CommE, DEV> {
pub error: Error<CommE>,
pub dev: DEV,
}
Expand description
All possible errors in this crate
Fields§
§error: Error<CommE>
I²C / SPI communication error
dev: DEV
Original device without mode changed
Trait Implementations§
Auto Trait Implementations§
impl<CommE, DEV> RefUnwindSafe for ModeChangeError<CommE, DEV>where
CommE: RefUnwindSafe,
DEV: RefUnwindSafe,
impl<CommE, DEV> Send for ModeChangeError<CommE, DEV>
impl<CommE, DEV> Sync for ModeChangeError<CommE, DEV>
impl<CommE, DEV> Unpin for ModeChangeError<CommE, DEV>
impl<CommE, DEV> UnwindSafe for ModeChangeError<CommE, DEV>where
CommE: UnwindSafe,
DEV: 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