pub enum Error<S, P> {
Spi(S),
Pin(P),
}Expand description
Driver error: either the SPI device or the DC pin failed.
Variants§
Trait Implementations§
impl<S: Copy, P: Copy> Copy for Error<S, P>
impl<S: Eq, P: Eq> Eq for Error<S, P>
impl<S, P> StructuralPartialEq for Error<S, P>
Auto Trait Implementations§
impl<S, P> Freeze for Error<S, P>where
S: Freeze,
P: Freeze,
impl<S, P> RefUnwindSafe for Error<S, P>where
S: RefUnwindSafe,
P: RefUnwindSafe,
impl<S, P> Send for Error<S, P>where
S: Send,
P: Send,
impl<S, P> Sync for Error<S, P>where
S: Sync,
P: Sync,
impl<S, P> Unpin for Error<S, P>where
S: Unpin,
P: Unpin,
impl<S, P> UnsafeUnpin for Error<S, P>where
S: UnsafeUnpin,
P: UnsafeUnpin,
impl<S, P> UnwindSafe for Error<S, P>where
S: UnwindSafe,
P: UnwindSafe,
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)