Enum monitord::networkd::AdminState
source · #[repr(u8)]pub enum AdminState {
unknown,
pending,
failed,
configuring,
configured,
unmanaged,
linger,
}Expand description
Enumeration of interface administratve states
Variants§
Trait Implementations§
source§impl Clone for AdminState
impl Clone for AdminState
source§fn clone(&self) -> AdminState
fn clone(&self) -> AdminState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AdminState
impl Debug for AdminState
source§impl<'de> Deserialize<'de> for AdminState
impl<'de> Deserialize<'de> for AdminState
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
source§impl FromStr for AdminState
impl FromStr for AdminState
source§impl IntEnum for AdminState
impl IntEnum for AdminState
source§impl PartialEq<AdminState> for AdminState
impl PartialEq<AdminState> for AdminState
source§fn eq(&self, other: &AdminState) -> bool
fn eq(&self, other: &AdminState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AdminState
impl Serialize for AdminState
source§impl ToString for AdminState
impl ToString for AdminState
impl Copy for AdminState
impl Eq for AdminState
impl StructuralEq for AdminState
impl StructuralPartialEq for AdminState
Auto Trait Implementations§
impl RefUnwindSafe for AdminState
impl Send for AdminState
impl Sync for AdminState
impl Unpin for AdminState
impl UnwindSafe for AdminState
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.