Enum monitord::networkd::AddressState
source · #[repr(u8)]pub enum AddressState {
unknown,
off,
degraded,
routable,
}Variants§
Trait Implementations§
source§impl Clone for AddressState
impl Clone for AddressState
source§fn clone(&self) -> AddressState
fn clone(&self) -> AddressState
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 AddressState
impl Debug for AddressState
source§impl<'de> Deserialize<'de> for AddressState
impl<'de> Deserialize<'de> for AddressState
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 AddressState
impl FromStr for AddressState
source§impl IntEnum for AddressState
impl IntEnum for AddressState
source§impl PartialEq<AddressState> for AddressState
impl PartialEq<AddressState> for AddressState
source§fn eq(&self, other: &AddressState) -> bool
fn eq(&self, other: &AddressState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AddressState
impl Serialize for AddressState
source§impl ToString for AddressState
impl ToString for AddressState
impl Copy for AddressState
impl Eq for AddressState
impl StructuralEq for AddressState
impl StructuralPartialEq for AddressState
Auto Trait Implementations§
impl RefUnwindSafe for AddressState
impl Send for AddressState
impl Sync for AddressState
impl Unpin for AddressState
impl UnwindSafe for AddressState
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
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.