Enum lis2dw12::Error [−][src]
pub enum Error<SpiError, PinError> { Spi(SpiError), Pin(PinError), InvalidWhoAmI(u8), }
Variants
SPI communication error
CS output pin error
Trait Implementations
Auto Trait Implementations
impl<SpiError, PinError> Send for Error<SpiError, PinError> where
PinError: Send,
SpiError: Send,
PinError: Send,
SpiError: Send,
impl<SpiError, PinError> Sync for Error<SpiError, PinError> where
PinError: Sync,
SpiError: Sync,
PinError: Sync,
SpiError: Sync,
impl<SpiError, PinError> Unpin for Error<SpiError, PinError> where
PinError: Unpin,
SpiError: Unpin,
PinError: Unpin,
SpiError: Unpin,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self