#[repr(u8)]pub enum InvalidCommand {
Unset = 0,
Set = 1,
}Expand description
Whether the device received an invalid command.
Variants§
Trait Implementations§
Source§impl Clone for InvalidCommand
impl Clone for InvalidCommand
Source§fn clone(&self) -> InvalidCommand
fn clone(&self) -> InvalidCommand
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 InvalidCommand
impl Debug for InvalidCommand
Source§impl Display for InvalidCommand
impl Display for InvalidCommand
Source§impl From<&InvalidCommand> for &'static str
impl From<&InvalidCommand> for &'static str
Source§fn from(name: &InvalidCommand) -> Self
fn from(name: &InvalidCommand) -> Self
Converts to this type from the input type.
Source§impl From<&InvalidCommand> for bool
impl From<&InvalidCommand> for bool
Source§fn from(n: &InvalidCommand) -> Self
fn from(n: &InvalidCommand) -> Self
Converts to this type from the input type.
Source§impl From<&InvalidCommand> for u8
impl From<&InvalidCommand> for u8
Source§fn from(n: &InvalidCommand) -> Self
fn from(n: &InvalidCommand) -> Self
Converts to this type from the input type.
Source§impl From<InvalidCommand> for &'static str
impl From<InvalidCommand> for &'static str
Source§fn from(name: InvalidCommand) -> Self
fn from(name: InvalidCommand) -> Self
Converts to this type from the input type.
Source§impl From<InvalidCommand> for bool
impl From<InvalidCommand> for bool
Source§fn from(n: InvalidCommand) -> Self
fn from(n: InvalidCommand) -> Self
Converts to this type from the input type.
Source§impl From<InvalidCommand> for u8
impl From<InvalidCommand> for u8
Source§fn from(n: InvalidCommand) -> Self
fn from(n: InvalidCommand) -> Self
Converts to this type from the input type.
Source§impl From<bool> for InvalidCommand
impl From<bool> for InvalidCommand
Source§impl From<u8> for InvalidCommand
impl From<u8> for InvalidCommand
Source§impl PartialEq for InvalidCommand
impl PartialEq for InvalidCommand
impl Copy for InvalidCommand
impl StructuralPartialEq for InvalidCommand
Auto Trait Implementations§
impl Freeze for InvalidCommand
impl RefUnwindSafe for InvalidCommand
impl Send for InvalidCommand
impl Sync for InvalidCommand
impl Unpin for InvalidCommand
impl UnwindSafe for InvalidCommand
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