pub enum BootCommand {
STOP_AND_WAIT = 0,
INSTALL_UPGRADE = 1,
}
Variants§
Trait Implementations§
Source§impl Clone for BootCommand
impl Clone for BootCommand
Source§fn clone(&self) -> BootCommand
fn clone(&self) -> BootCommand
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 BootCommand
impl Debug for BootCommand
Source§impl Default for BootCommand
impl Default for BootCommand
Source§impl Enum for BootCommand
impl Enum for BootCommand
Source§const VALUES: &'static [BootCommand]
const VALUES: &'static [BootCommand]
All enum values for enum type.
Source§impl EnumFull for BootCommand
impl EnumFull for BootCommand
Source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
Source§impl Hash for BootCommand
impl Hash for BootCommand
Source§impl PartialEq for BootCommand
impl PartialEq for BootCommand
impl Copy for BootCommand
impl Eq for BootCommand
impl StructuralPartialEq for BootCommand
Auto Trait Implementations§
impl Freeze for BootCommand
impl RefUnwindSafe for BootCommand
impl Send for BootCommand
impl Sync for BootCommand
impl Unpin for BootCommand
impl UnwindSafe for BootCommand
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