#[repr(C)]pub struct PamojaBoot {
pub action: PamojaBootAction,
pub slot: u8,
pub fallback: u8,
}Expand description
The decision a device made at boot, already recorded before it was returned.
Fields§
§action: PamojaBootActionWhat the bootloader should do.
slot: u8The image the decision is about, which for
PamojaBootAction::Reverted is the one that failed.
fallback: u8The slot to run. It is the same as slot for anything but
PamojaBootAction::Reverted.
Trait Implementations§
Source§impl Clone for PamojaBoot
impl Clone for PamojaBoot
Source§fn clone(&self) -> PamojaBoot
fn clone(&self) -> PamojaBoot
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 PamojaBoot
Source§impl Debug for PamojaBoot
impl Debug for PamojaBoot
impl Eq for PamojaBoot
Source§impl PartialEq for PamojaBoot
impl PartialEq for PamojaBoot
Source§fn eq(&self, other: &PamojaBoot) -> bool
fn eq(&self, other: &PamojaBoot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PamojaBoot
Auto Trait Implementations§
impl Freeze for PamojaBoot
impl RefUnwindSafe for PamojaBoot
impl Send for PamojaBoot
impl Sync for PamojaBoot
impl Unpin for PamojaBoot
impl UnsafeUnpin for PamojaBoot
impl UnwindSafe for PamojaBoot
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