pub enum NeighState {
Incomplete,
Reachable,
Stale,
Delay,
Probe,
Failed,
Permanent,
Noarp,
None,
}Expand description
ARP/ND neighbor cache state (NUD_* flags from the kernel).
Variants§
Incomplete
ARP/ND request sent; reply not yet received.
Reachable
L2 address confirmed reachable within the reachable time.
Stale
Entry valid but not recently confirmed.
Delay
Waiting before sending a reachability probe.
Probe
Actively probing for reachability.
Failed
ARP/ND failed; address is unreachable at L2.
Permanent
Statically configured entry; never expires.
Noarp
No ARP needed for this address (e.g. point-to-point links).
None
No state information available.
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 · 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 NeighState
impl Debug for NeighState
Source§impl<'de> Deserialize<'de> for NeighState
impl<'de> Deserialize<'de> for NeighState
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 PartialEq for NeighState
impl PartialEq for NeighState
Source§impl Serialize for NeighState
impl Serialize for NeighState
impl Copy for NeighState
impl Eq for NeighState
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