pub struct ArpEntryInfo {
pub ip_addr: String,
pub mac_addr: String,
pub dev_name: String,
pub state: NeighState,
}Expand description
An ARP cache entry from the kernel neighbour table.
Fields§
§ip_addr: StringIPv4 address of the neighbour.
mac_addr: StringMAC address (6 bytes as colon-separated hex).
dev_name: StringNetwork device name (e.g. “eth0”).
state: NeighStateNUD state.
Trait Implementations§
Source§impl Clone for ArpEntryInfo
impl Clone for ArpEntryInfo
Source§fn clone(&self) -> ArpEntryInfo
fn clone(&self) -> ArpEntryInfo
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 moreAuto Trait Implementations§
impl Freeze for ArpEntryInfo
impl RefUnwindSafe for ArpEntryInfo
impl Send for ArpEntryInfo
impl Sync for ArpEntryInfo
impl Unpin for ArpEntryInfo
impl UnsafeUnpin for ArpEntryInfo
impl UnwindSafe for ArpEntryInfo
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