pub enum AdapterState {
Stable,
Pinned,
Candidate,
Deferred,
Disabled,
}Expand description
The verdict for one network adapter, as written to the state file.
Variants§
Stable
A stable efuse MAC, left untouched.
Pinned
A randomizer we have pinned; the value lands on the next boot.
Candidate
The cross-boot learner suspects randomization but is not certain; the operator confirms before a pin is written.
Deferred
A randomizer we cannot pin yet (e.g. no machine-id, no systemd-udev link mechanism).
Disabled
Pinning is disabled by config.
Trait Implementations§
Source§impl Clone for AdapterState
impl Clone for AdapterState
impl Copy for AdapterState
Source§impl Debug for AdapterState
impl Debug for AdapterState
Source§impl<'de> Deserialize<'de> for AdapterState
impl<'de> Deserialize<'de> for AdapterState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AdapterState
Source§impl PartialEq for AdapterState
impl PartialEq for AdapterState
Source§impl Serialize for AdapterState
impl Serialize for AdapterState
impl StructuralPartialEq for AdapterState
Auto Trait Implementations§
impl Freeze for AdapterState
impl RefUnwindSafe for AdapterState
impl Send for AdapterState
impl Sync for AdapterState
impl Unpin for AdapterState
impl UnsafeUnpin for AdapterState
impl UnwindSafe for AdapterState
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