pub enum Error<BUS> {
BUS(BUS),
NoResponse,
NotIdle,
Command(R1Status),
Transfer(TokenError),
Timeout,
Generic,
}
Variants§
BUS(BUS)
Bus error
NoResponse
Probably no card
NotIdle
Not idle
Command(R1Status)
Command related error
Transfer(TokenError)
Tranfer error
Timeout
No respond within expected duration
Generic
Unexpected error
Trait Implementations§
Auto Trait Implementations§
impl<BUS> Freeze for Error<BUS>where
BUS: Freeze,
impl<BUS> RefUnwindSafe for Error<BUS>where
BUS: RefUnwindSafe,
impl<BUS> Send for Error<BUS>where
BUS: Send,
impl<BUS> Sync for Error<BUS>where
BUS: Sync,
impl<BUS> Unpin for Error<BUS>where
BUS: Unpin,
impl<BUS> UnwindSafe for Error<BUS>where
BUS: 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