pub struct Neighbor {
pub iface: IfaceHandle,
pub addr: IpAddress,
pub state: NeighborState,
}Expand description
An entry in the NeighborCache.
Fields§
§iface: IfaceHandleInterface the neighbor is reachable through.
addr: IpAddressThe neighbor’s IP address.
state: NeighborStateWhether the hardware address is known yet.
Trait Implementations§
impl Copy for Neighbor
impl Eq for Neighbor
impl StructuralPartialEq for Neighbor
Auto Trait Implementations§
impl Freeze for Neighbor
impl RefUnwindSafe for Neighbor
impl Send for Neighbor
impl Sync for Neighbor
impl Unpin for Neighbor
impl UnsafeUnpin for Neighbor
impl UnwindSafe for Neighbor
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