#[repr(u32)]pub enum CommandClass8 {
SetBlockCount = 23,
AppCommand = 55,
GenCommand = 56,
SetBusWidth = 2_147_483_654,
SdStatus = 2_147_483_661,
SendNumberWriteBlocks = 2_147_483_670,
SetWriteBlockEraseCount = 2_147_483_671,
SdSendOpCond = 2_147_483_689,
SetClearCardDetect = 2_147_483_690,
SendScr = 2_147_483_699,
SecureReceive = 2_147_483_701,
SecureSend = 2_147_483_702,
}
Expand description
MMC opcodes for Class 8.
Variants§
SetBlockCount = 23
AppCommand = 55
GenCommand = 56
SetBusWidth = 2_147_483_654
SdStatus = 2_147_483_661
SendNumberWriteBlocks = 2_147_483_670
SetWriteBlockEraseCount = 2_147_483_671
SdSendOpCond = 2_147_483_689
SetClearCardDetect = 2_147_483_690
SendScr = 2_147_483_699
SecureReceive = 2_147_483_701
SecureSend = 2_147_483_702
Implementations§
Source§impl CommandClass8
impl CommandClass8
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new CommandClass8.
Sourcepub const fn from_raw_unchecked(val: u32) -> Self
pub const fn from_raw_unchecked(val: u32) -> Self
Sourcepub const fn from_raw(val: u32) -> Result<Self, Error>
pub const fn from_raw(val: u32) -> Result<Self, Error>
Attempts to convert a u32
into a CommandClass8.
Sourcepub const fn into_raw(self) -> u32
pub const fn into_raw(self) -> u32
Converts a CommandClass8 into a u32
.
Trait Implementations§
Source§impl Clone for CommandClass8
impl Clone for CommandClass8
Source§fn clone(&self) -> CommandClass8
fn clone(&self) -> CommandClass8
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CommandClass8
impl Debug for CommandClass8
Source§impl Default for CommandClass8
impl Default for CommandClass8
Source§impl From<CommandClass8> for u32
impl From<CommandClass8> for u32
Source§fn from(val: CommandClass8) -> Self
fn from(val: CommandClass8) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommandClass8
impl PartialEq for CommandClass8
Source§impl TryFrom<u32> for CommandClass8
impl TryFrom<u32> for CommandClass8
impl Copy for CommandClass8
impl Eq for CommandClass8
impl StructuralPartialEq for CommandClass8
Auto Trait Implementations§
impl Freeze for CommandClass8
impl RefUnwindSafe for CommandClass8
impl Send for CommandClass8
impl Sync for CommandClass8
impl Unpin for CommandClass8
impl UnwindSafe for CommandClass8
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