#[repr(u8)]pub enum SystemCommand {
Reboot = 1,
Bootloader = 2,
FactoryReset = 3,
}Expand description
System command identifiers (body of PE Set to resource 0x7E).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SystemCommand
impl Clone for SystemCommand
Source§fn clone(&self) -> SystemCommand
fn clone(&self) -> SystemCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SystemCommand
Source§impl Debug for SystemCommand
impl Debug for SystemCommand
impl Eq for SystemCommand
Source§impl PartialEq for SystemCommand
impl PartialEq for SystemCommand
Source§fn eq(&self, other: &SystemCommand) -> bool
fn eq(&self, other: &SystemCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SystemCommand
Auto Trait Implementations§
impl Freeze for SystemCommand
impl RefUnwindSafe for SystemCommand
impl Send for SystemCommand
impl Sync for SystemCommand
impl Unpin for SystemCommand
impl UnsafeUnpin for SystemCommand
impl UnwindSafe for SystemCommand
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