pub struct NetworkAddressTable { /* private fields */ }
Expand description
A table of network address mappings
Implementations§
Source§impl NetworkAddressTable
impl NetworkAddressTable
Sourcepub fn insert_indefinite(&mut self, left: Ipv4Addr, right: Ipv4Addr)
pub fn insert_indefinite(&mut self, left: Ipv4Addr, right: Ipv4Addr)
Insert a new indefinite mapping
Sourcepub fn insert(&mut self, left: Ipv4Addr, right: Ipv4Addr, duration: Duration)
pub fn insert(&mut self, left: Ipv4Addr, right: Ipv4Addr, duration: Duration)
Insert a new mapping with a finite time-to-live
Trait Implementations§
Source§impl Debug for NetworkAddressTable
impl Debug for NetworkAddressTable
Auto Trait Implementations§
impl Freeze for NetworkAddressTable
impl RefUnwindSafe for NetworkAddressTable
impl Send for NetworkAddressTable
impl Sync for NetworkAddressTable
impl Unpin for NetworkAddressTable
impl UnwindSafe for NetworkAddressTable
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