pub struct CrossProtocolNetworkAddressTableWithIpv4Pool { /* private fields */ }
Implementations§
Source§impl CrossProtocolNetworkAddressTableWithIpv4Pool
impl CrossProtocolNetworkAddressTableWithIpv4Pool
Sourcepub fn new(pool: &[Ipv4Net], timeout: Duration) -> Self
pub fn new(pool: &[Ipv4Net], timeout: Duration) -> Self
Construct a new Cross-protocol network address table with a given IPv4 pool
Sourcepub fn insert_static(
&mut self,
ipv4: Ipv4Addr,
ipv6: Ipv6Addr,
) -> Result<(), Error>
pub fn insert_static( &mut self, ipv4: Ipv4Addr, ipv6: Ipv6Addr, ) -> Result<(), Error>
Insert a new static mapping
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CrossProtocolNetworkAddressTableWithIpv4Pool
impl RefUnwindSafe for CrossProtocolNetworkAddressTableWithIpv4Pool
impl Send for CrossProtocolNetworkAddressTableWithIpv4Pool
impl Sync for CrossProtocolNetworkAddressTableWithIpv4Pool
impl Unpin for CrossProtocolNetworkAddressTableWithIpv4Pool
impl UnwindSafe for CrossProtocolNetworkAddressTableWithIpv4Pool
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