pub struct ArpEntry {
pub ip_addr: [u8; 4],
pub hw_type: u16,
pub flags: u16,
pub hw_addr: [u8; 6],
pub device: String,
}Fields§
§ip_addr: [u8; 4]IPv4 address in network byte order.
hw_type: u16ARP hardware type.
flags: u16ARP entry flags exposed to userspace.
hw_addr: [u8; 6]Link-layer address.
device: StringInterface name that owns this neighbor entry.
Trait Implementations§
impl Eq for ArpEntry
impl StructuralPartialEq for ArpEntry
Auto Trait Implementations§
impl Freeze for ArpEntry
impl RefUnwindSafe for ArpEntry
impl Send for ArpEntry
impl Sync for ArpEntry
impl Unpin for ArpEntry
impl UnsafeUnpin for ArpEntry
impl UnwindSafe for ArpEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.