pub enum TargetBootMode {
Bootloader,
Recovery,
Other(String),
}Expand description
Target boot mode accepted by target boot.
Variants§
Bootloader
Boot to bootloader mode.
Recovery
Boot to recovery mode.
Other(String)
Pass a custom upstream boot mode argument through unchanged.
Implementations§
Trait Implementations§
Source§impl Clone for TargetBootMode
impl Clone for TargetBootMode
Source§fn clone(&self) -> TargetBootMode
fn clone(&self) -> TargetBootMode
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 moreSource§impl Debug for TargetBootMode
impl Debug for TargetBootMode
impl Eq for TargetBootMode
Source§impl From<&str> for TargetBootMode
impl From<&str> for TargetBootMode
Source§impl PartialEq for TargetBootMode
impl PartialEq for TargetBootMode
impl StructuralPartialEq for TargetBootMode
Auto Trait Implementations§
impl Freeze for TargetBootMode
impl RefUnwindSafe for TargetBootMode
impl Send for TargetBootMode
impl Sync for TargetBootMode
impl Unpin for TargetBootMode
impl UnsafeUnpin for TargetBootMode
impl UnwindSafe for TargetBootMode
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