#[repr(u8)]pub enum RequestCommandClass {
DiscoveryCommand = 16,
GetCommand = 32,
SetCommand = 48,
}
Variants§
Implementations§
Source§impl RequestCommandClass
impl RequestCommandClass
Sourcepub fn get_response_class(&self) -> ResponseCommandClass
pub fn get_response_class(&self) -> ResponseCommandClass
Returns the corresponding response class.
Trait Implementations§
Source§impl Clone for RequestCommandClass
impl Clone for RequestCommandClass
Source§fn clone(&self) -> RequestCommandClass
fn clone(&self) -> RequestCommandClass
Returns a duplicate 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 RequestCommandClass
impl Debug for RequestCommandClass
Source§impl Format for RequestCommandClass
impl Format for RequestCommandClass
Source§impl PartialEq for RequestCommandClass
impl PartialEq for RequestCommandClass
Source§impl TryFrom<u8> for RequestCommandClass
impl TryFrom<u8> for RequestCommandClass
impl Copy for RequestCommandClass
impl Eq for RequestCommandClass
impl StructuralPartialEq for RequestCommandClass
Auto Trait Implementations§
impl Freeze for RequestCommandClass
impl RefUnwindSafe for RequestCommandClass
impl Send for RequestCommandClass
impl Sync for RequestCommandClass
impl Unpin for RequestCommandClass
impl UnwindSafe for RequestCommandClass
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