pub enum Error<S, P> {
Spi(S),
Pin(P),
Conn,
Address,
Port,
Oob,
}
Variants§
Spi(S)
SPI bus error
Pin(P)
Pin error
Conn
Connection error (device not found)
Address
Address error (invalid or out of bounds)
Port
Port error (invalid or out of bounds)
Oob
Out of bounds error
Trait Implementations§
Auto Trait Implementations§
impl<S, P> Freeze for Error<S, P>
impl<S, P> RefUnwindSafe for Error<S, P>where
S: RefUnwindSafe,
P: RefUnwindSafe,
impl<S, P> Send for Error<S, P>
impl<S, P> Sync for Error<S, P>
impl<S, P> Unpin for Error<S, P>
impl<S, P> UnwindSafe for Error<S, P>where
S: UnwindSafe,
P: 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