pub enum BootIdSource {
Unknown,
Native,
StateBacked,
Degraded,
}Expand description
Classifies how the helper obtained the boot ID.
Variants§
Unknown
No boot ID has been loaded yet.
Native
A native per-boot kernel/OS UUID was read.
StateBacked
A state-backed boot ID was read from or written to healthy state.
Degraded
A valid fresh UUID was generated after native/state discovery failed.
Degraded IDs satisfy the strict writer contract for this provider instance, but they do not claim cross-process same-boot stability.
Implementations§
Trait Implementations§
Source§impl Clone for BootIdSource
impl Clone for BootIdSource
Source§fn clone(&self) -> BootIdSource
fn clone(&self) -> BootIdSource
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 BootIdSource
Source§impl Debug for BootIdSource
impl Debug for BootIdSource
impl Eq for BootIdSource
Source§impl PartialEq for BootIdSource
impl PartialEq for BootIdSource
Source§fn eq(&self, other: &BootIdSource) -> bool
fn eq(&self, other: &BootIdSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BootIdSource
Auto Trait Implementations§
impl Freeze for BootIdSource
impl RefUnwindSafe for BootIdSource
impl Send for BootIdSource
impl Sync for BootIdSource
impl Unpin for BootIdSource
impl UnsafeUnpin for BootIdSource
impl UnwindSafe for BootIdSource
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