#[repr(C)]pub struct otBorderRoutingNat64PrefixEntry {
pub mRouter: otBorderRoutingRouterEntry,
pub mPrefix: otIp6Prefix,
pub mMsecSinceLastUpdate: u32,
pub mLifetime: u32,
}Expand description
Represents an entry from the discovered NAT64 prefix table.
The entries in the discovered table track the NAT64 Prefix Options in the received Router Advertisement messages from other routers on the infrastructure link.
Fields§
§mRouter: otBorderRoutingRouterEntry< Information about the router advertising this NAT64 prefix.
mPrefix: otIp6Prefix< The discovered IPv6 prefix.
mMsecSinceLastUpdate: u32< Milliseconds since last update of this prefix.
mLifetime: u32< Lifetime of the prefix (in seconds).
Trait Implementations§
Source§impl Clone for otBorderRoutingNat64PrefixEntry
impl Clone for otBorderRoutingNat64PrefixEntry
Source§fn clone(&self) -> otBorderRoutingNat64PrefixEntry
fn clone(&self) -> otBorderRoutingNat64PrefixEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for otBorderRoutingNat64PrefixEntry
Auto Trait Implementations§
impl Freeze for otBorderRoutingNat64PrefixEntry
impl RefUnwindSafe for otBorderRoutingNat64PrefixEntry
impl Send for otBorderRoutingNat64PrefixEntry
impl Sync for otBorderRoutingNat64PrefixEntry
impl Unpin for otBorderRoutingNat64PrefixEntry
impl UnsafeUnpin for otBorderRoutingNat64PrefixEntry
impl UnwindSafe for otBorderRoutingNat64PrefixEntry
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