pub enum SavedStatus {
None,
Current,
Fallback,
Unreadable,
}Expand description
What PROP_SAVED reports about the stored snapshot.
Variants§
None
Nothing is saved.
Current
The newest saved generation is in effect.
Fallback
A newer generation was rejected and an older one is in effect — the device is running on generation N−1 and needs attention.
Unreadable
A snapshot exists but no generation could be read; the device booted bare.
Implementations§
Trait Implementations§
Source§impl Clone for SavedStatus
impl Clone for SavedStatus
Source§fn clone(&self) -> SavedStatus
fn clone(&self) -> SavedStatus
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SavedStatus
impl Debug for SavedStatus
Source§impl Default for SavedStatus
impl Default for SavedStatus
Source§fn default() -> SavedStatus
fn default() -> SavedStatus
Returns the “default value” for a type. Read more
Source§impl PartialEq for SavedStatus
impl PartialEq for SavedStatus
impl Copy for SavedStatus
impl Eq for SavedStatus
impl StructuralPartialEq for SavedStatus
Auto Trait Implementations§
impl Freeze for SavedStatus
impl RefUnwindSafe for SavedStatus
impl Send for SavedStatus
impl Sync for SavedStatus
impl Unpin for SavedStatus
impl UnwindSafe for SavedStatus
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)