pub enum SavedSnapshot {
None,
Current,
Fallback,
Unreadable,
}Expand description
PROP_SAVED: what the device reports about its stored snapshot.
The two failure values are the point of the property. An unattended repeater that comes back on stale configuration, or on none at all, looks identical to a healthy one from the outside — this is how a host that does eventually attach finds out.
Variants§
None
Nothing is saved.
Current
The newest saved generation is in effect.
Fallback
A newer generation was rejected at boot and an older one is in effect: the device is working, on stale configuration. Re-save to clear it.
Unreadable
A snapshot exists but no generation could be read; the device booted with post-reset defaults.
Implementations§
Trait Implementations§
Source§impl Clone for SavedSnapshot
impl Clone for SavedSnapshot
Source§fn clone(&self) -> SavedSnapshot
fn clone(&self) -> SavedSnapshot
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 SavedSnapshot
impl Debug for SavedSnapshot
Source§impl PartialEq for SavedSnapshot
impl PartialEq for SavedSnapshot
impl Copy for SavedSnapshot
impl Eq for SavedSnapshot
impl StructuralPartialEq for SavedSnapshot
Auto Trait Implementations§
impl Freeze for SavedSnapshot
impl RefUnwindSafe for SavedSnapshot
impl Send for SavedSnapshot
impl Sync for SavedSnapshot
impl Unpin for SavedSnapshot
impl UnwindSafe for SavedSnapshot
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)