pub enum NeighState {
Incomplete,
Reachable,
Stale,
Delay,
Probe,
Failed,
Permanent,
Unknown(u8),
}Expand description
NUD (Neighbour Unreachability Detection) state.
Variants§
Incomplete
NUD_INCOMPLETE (0x01).
Reachable
NUD_REACHABLE (0x02).
Stale
NUD_STALE (0x04).
Delay
NUD_DELAY (0x08).
Probe
NUD_PROBE (0x10).
Failed
NUD_FAILED (0x20).
Permanent
NUD_PERMANENT (0x80).
Unknown(u8)
Unknown/combined flags.
Implementations§
Trait Implementations§
Source§impl Clone for NeighState
impl Clone for NeighState
Source§fn clone(&self) -> NeighState
fn clone(&self) -> NeighState
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 NeighState
Source§impl Debug for NeighState
impl Debug for NeighState
Source§impl Display for NeighState
impl Display for NeighState
impl Eq for NeighState
Source§impl PartialEq for NeighState
impl PartialEq for NeighState
Source§fn eq(&self, other: &NeighState) -> bool
fn eq(&self, other: &NeighState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NeighState
Auto Trait Implementations§
impl Freeze for NeighState
impl RefUnwindSafe for NeighState
impl Send for NeighState
impl Sync for NeighState
impl Unpin for NeighState
impl UnsafeUnpin for NeighState
impl UnwindSafe for NeighState
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.