pub enum SpiError {
Dma,
Overrun,
Unknown,
}Expand description
SPI error.
Variants§
Trait Implementations§
impl Copy for SpiError
impl Eq for SpiError
Source§impl Error for SpiError
impl Error for SpiError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for SpiError
Auto Trait Implementations§
impl Forget for SpiError
impl Freeze for SpiError
impl Move for SpiError
impl RefUnwindSafe for SpiError
impl Send for SpiError
impl Sync for SpiError
impl Unpin for SpiError
impl UnsafeUnpin for SpiError
impl UnwindSafe for SpiError
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