pub enum SnapshotError {
UnknownFormat,
Malformed,
InvalidValue,
}Expand description
Why a stored snapshot payload was rejected. Rejection is never
silent: the boot path walks back a generation and reports through
PROP_SAVED (spec §Saved State).
Variants§
UnknownFormat
The leading discriminator is not a format this firmware reads. Retired positional payloads land here.
Malformed
The option block is truncated, out of order, or repeats a single-valued property.
InvalidValue
A known option carried a value this firmware refuses: out of range, wrong length, or a table over capacity.
Trait Implementations§
Source§impl Clone for SnapshotError
impl Clone for SnapshotError
Source§fn clone(&self) -> SnapshotError
fn clone(&self) -> SnapshotError
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 SnapshotError
impl Debug for SnapshotError
Source§impl PartialEq for SnapshotError
impl PartialEq for SnapshotError
impl Copy for SnapshotError
impl Eq for SnapshotError
impl StructuralPartialEq for SnapshotError
Auto Trait Implementations§
impl Freeze for SnapshotError
impl RefUnwindSafe for SnapshotError
impl Send for SnapshotError
impl Sync for SnapshotError
impl Unpin for SnapshotError
impl UnwindSafe for SnapshotError
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)