pub enum FamilyState {
Disabled = 0,
NoLink = 1,
Waiting = 2,
Ready = 3,
Conflict = 4,
}Expand description
Readiness of one address family, shared by PROP_IPV4_STATE and
PROP_IPV6_STATE.
Variants§
Disabled = 0
IP_DISABLED: the family is configured off.
NoLink = 1
IP_NO_LINK: the link is down, so there is nothing to address.
Waiting = 2
IP_WAITING: the link is up and the family has no usable
address yet.
Ready = 3
IP_READY: the family holds a usable address. An address, not a
route: a device on an isolated network with no gateway is ready.
Conflict = 4
IP_CONFLICT: the configured static address is held by
something else, which is a fault in the configuration this
protocol wrote.
Implementations§
Trait Implementations§
Source§impl Clone for FamilyState
impl Clone for FamilyState
Source§fn clone(&self) -> FamilyState
fn clone(&self) -> FamilyState
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 FamilyState
impl Debug for FamilyState
Source§impl Default for FamilyState
impl Default for FamilyState
Source§fn default() -> FamilyState
fn default() -> FamilyState
Returns the “default value” for a type. Read more
Source§impl PartialEq for FamilyState
impl PartialEq for FamilyState
impl Copy for FamilyState
impl Eq for FamilyState
impl StructuralPartialEq for FamilyState
Auto Trait Implementations§
impl Freeze for FamilyState
impl RefUnwindSafe for FamilyState
impl Send for FamilyState
impl Sync for FamilyState
impl Unpin for FamilyState
impl UnwindSafe for FamilyState
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)