pub enum CardError {
IllegalCommand,
CommandCrcFailed,
EraseSequence,
AddressError,
CardEccFailed,
ControllerError,
Unknown(u8),
}Expand description
Per-bit error status decoded out of an R1 response.
Variants§
IllegalCommand
A command was issued out of sequence.
CommandCrcFailed
CRC check of the last command failed.
EraseSequence
Erase sequence error.
AddressError
Address alignment error.
CardEccFailed
Card internal ECC error.
ControllerError
Generic controller error.
Unknown(u8)
Unknown error bit set.
Trait Implementations§
impl Copy for CardError
impl Eq for CardError
impl StructuralPartialEq for CardError
Auto Trait Implementations§
impl Freeze for CardError
impl RefUnwindSafe for CardError
impl Send for CardError
impl Sync for CardError
impl Unpin for CardError
impl UnsafeUnpin for CardError
impl UnwindSafe for CardError
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