#[repr(u32)]pub enum CommandClass1 {
QueueManagement = 43,
QueueTaskInfoA = 44,
QueueTaskInfoB = 45,
QueueReadTask = 46,
QueueWriteTask = 47,
}
Expand description
MMC opcodes for Class 1.
Variants§
QueueManagement = 43
QueueTaskInfoA = 44
QueueTaskInfoB = 45
QueueReadTask = 46
QueueWriteTask = 47
Implementations§
Source§impl CommandClass1
impl CommandClass1
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new CommandClass1.
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 CommandClass1.
Sourcepub const fn into_raw(self) -> u32
pub const fn into_raw(self) -> u32
Converts a CommandClass1 into a u32
.
Trait Implementations§
Source§impl Clone for CommandClass1
impl Clone for CommandClass1
Source§fn clone(&self) -> CommandClass1
fn clone(&self) -> CommandClass1
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 CommandClass1
impl Debug for CommandClass1
Source§impl Default for CommandClass1
impl Default for CommandClass1
Source§impl From<CommandClass1> for u32
impl From<CommandClass1> for u32
Source§fn from(val: CommandClass1) -> Self
fn from(val: CommandClass1) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommandClass1
impl PartialEq for CommandClass1
Source§impl TryFrom<u32> for CommandClass1
impl TryFrom<u32> for CommandClass1
impl Copy for CommandClass1
impl Eq for CommandClass1
impl StructuralPartialEq for CommandClass1
Auto Trait Implementations§
impl Freeze for CommandClass1
impl RefUnwindSafe for CommandClass1
impl Send for CommandClass1
impl Sync for CommandClass1
impl Unpin for CommandClass1
impl UnwindSafe for CommandClass1
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