Struct mma8x5x::ModeChangeError
source · [−]pub struct ModeChangeError<E, DEV> {
pub error: Error<E>,
pub dev: DEV,
}
Expand description
All possible errors in this crate
Fields
error: Error<E>
I²C bus error
dev: DEV
Original device without mode changed
Trait Implementations
Auto Trait Implementations
impl<E, DEV> RefUnwindSafe for ModeChangeError<E, DEV>where
DEV: RefUnwindSafe,
E: RefUnwindSafe,
impl<E, DEV> Send for ModeChangeError<E, DEV>where
DEV: Send,
E: Send,
impl<E, DEV> Sync for ModeChangeError<E, DEV>where
DEV: Sync,
E: Sync,
impl<E, DEV> Unpin for ModeChangeError<E, DEV>where
DEV: Unpin,
E: Unpin,
impl<E, DEV> UnwindSafe for ModeChangeError<E, DEV>where
DEV: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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