Enum nrf24_rs::TransferError [−][src]
pub enum TransferError<SPIError, PinError> { Spi(SPIError), Pin(PinError), CommunicationError(u8), MaximumRetries, }
Expand description
Errors that can occur when sending and receiving data.
Variants
Expand description
SPI communication error
Expand description
Pin set error
Expand description
Communication error with module
Expand description
Max retries reached
Trait Implementations
impl<SPIError: Clone, PinError: Clone> Clone for TransferError<SPIError, PinError>
[src]
impl<SPIError: Clone, PinError: Clone> Clone for TransferError<SPIError, PinError>
[src]fn clone(&self) -> TransferError<SPIError, PinError>
[src]
fn clone(&self) -> TransferError<SPIError, PinError>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<SPIError: Debug, PinError: Debug> Debug for TransferError<SPIError, PinError>
[src]
impl<SPIError: Debug, PinError: Debug> Debug for TransferError<SPIError, PinError>
[src]impl<SPIError: Copy, PinError: Copy> Copy for TransferError<SPIError, PinError>
[src]
Auto Trait Implementations
impl<SPIError, PinError> Send for TransferError<SPIError, PinError> where
PinError: Send,
SPIError: Send,
PinError: Send,
SPIError: Send,
impl<SPIError, PinError> Sync for TransferError<SPIError, PinError> where
PinError: Sync,
SPIError: Sync,
PinError: Sync,
SPIError: Sync,
impl<SPIError, PinError> Unpin for TransferError<SPIError, PinError> where
PinError: Unpin,
SPIError: Unpin,
PinError: Unpin,
SPIError: Unpin,