pub enum NeighborState {
Incomplete,
Reachable {
hardware_addr: HardwareAddress,
expires_at: Instant,
},
}Expand description
State of a Neighbor entry.
Variants§
Incomplete
Address resolution is in progress. Packets for this neighbor are parked until it resolves or resolution gives up.
Reachable
The neighbor’s hardware address is known.
Fields
§
hardware_addr: HardwareAddressThe neighbor’s hardware address.
Trait Implementations§
Source§impl Clone for NeighborState
impl Clone for NeighborState
Source§fn clone(&self) -> NeighborState
fn clone(&self) -> NeighborState
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 NeighborState
Source§impl Debug for NeighborState
impl Debug for NeighborState
impl Eq for NeighborState
Source§impl PartialEq for NeighborState
impl PartialEq for NeighborState
impl StructuralPartialEq for NeighborState
Auto Trait Implementations§
impl Freeze for NeighborState
impl RefUnwindSafe for NeighborState
impl Send for NeighborState
impl Sync for NeighborState
impl Unpin for NeighborState
impl UnsafeUnpin for NeighborState
impl UnwindSafe for NeighborState
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