pub struct ArpEntry {
pub valid: bool,
pub ip: [u8; 4],
pub mac: [u8; 6],
pub age: u32,
}Fields§
§valid: bool§ip: [u8; 4]§mac: [u8; 6]§age: u32単調増加のアクセス時刻。小さいほど古い(LRU 退避の判断に使う)。
Implementations§
Trait Implementations§
impl Copy for ArpEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.