#[repr(C)]pub struct R1(pub [u8; 6]);
Expand description
Response sent by every command except SEND_STATUS
in SD mode.
Tuple Fields§
§0: [u8; 6]
Implementations§
Source§impl R1
impl R1
Sourcepub const fn response_type(&self) -> ResponseType
pub const fn response_type(&self) -> ResponseType
Gets the response type for the R1.
Sourcepub const fn response_mode(&self) -> ResponseMode
pub const fn response_mode(&self) -> ResponseMode
Gets the response mode for the R1.
Source§impl R1
impl R1
pub const DEFAULT: [u8; 6]
Sourcepub const fn card_status(&self) -> Result<CardStatus>
pub const fn card_status(&self) -> Result<CardStatus>
Gets the CardStatus for the R1.
Sourcepub fn set_card_status(&mut self, card_status: CardStatus)
pub fn set_card_status(&mut self, card_status: CardStatus)
Sets the CardStatus for the R1.
Trait Implementations§
impl Copy for R1
impl Eq for R1
impl StructuralPartialEq for R1
Auto Trait Implementations§
impl Freeze for R1
impl RefUnwindSafe for R1
impl Send for R1
impl Sync for R1
impl Unpin for R1
impl UnwindSafe for R1
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