[−][src]Enum bluenrg::Error
Enumeration of potential errors that may occur when reading from or writing to the chip.
Variants
SPI errors occur if there is an underlying error during a transfer.
GPIO errors occur if there is an underlying error resetting the pin, setting the chip select pin, or reading if data is available.
Trait Implementations
impl<SpiError: Debug, GpioError: Debug> Debug for Error<SpiError, GpioError>
[src]
impl<SpiError: PartialEq, GpioError: PartialEq> PartialEq<Error<SpiError, GpioError>> for Error<SpiError, GpioError>
[src]
fn eq(&self, other: &Error<SpiError, GpioError>) -> bool
[src]
fn ne(&self, other: &Error<SpiError, GpioError>) -> bool
[src]
impl<SpiError, GpioError> StructuralPartialEq for Error<SpiError, GpioError>
[src]
Auto Trait Implementations
impl<SpiError, GpioError> Send for Error<SpiError, GpioError> where
GpioError: Send,
SpiError: Send,
GpioError: Send,
SpiError: Send,
impl<SpiError, GpioError> Sync for Error<SpiError, GpioError> where
GpioError: Sync,
SpiError: Sync,
GpioError: Sync,
SpiError: Sync,
impl<SpiError, GpioError> Unpin for Error<SpiError, GpioError> where
GpioError: Unpin,
SpiError: Unpin,
GpioError: Unpin,
SpiError: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,