pub enum SpiError<E, E2> {
BusError(E),
NCSError(E2),
WriteManyError,
}
Expand description
SPI Error
Variants§
Trait Implementations§
impl<E: Copy, E2: Copy> Copy for SpiError<E, E2>
Auto Trait Implementations§
impl<E, E2> RefUnwindSafe for SpiError<E, E2>where E: RefUnwindSafe, E2: RefUnwindSafe,
impl<E, E2> Send for SpiError<E, E2>where E: Send, E2: Send,
impl<E, E2> Sync for SpiError<E, E2>where E: Sync, E2: Sync,
impl<E, E2> Unpin for SpiError<E, E2>where E: Unpin, E2: Unpin,
impl<E, E2> UnwindSafe for SpiError<E, E2>where E: UnwindSafe, E2: 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