#[repr(C)]pub struct gnrc_ipv6_nib_pl_t {
pub pfx: ipv6_addr_t,
pub pfx_len: u8,
pub iface: u16,
pub valid_until: u32,
pub pref_until: u32,
}
Expand description
@brief Prefix list entry view on NIB
Fields§
§pfx: ipv6_addr_t
< prefix
pfx_len: u8
< length of gnrc_ipv6_nib_pl_t::pfx in bits
iface: u16
< interface gnrc_ipv6_nib_pl_t::pfx is assigned to
valid_until: u32
< timestamp (in ms) until which the prefix is valid
pref_until: u32
< timestamp (in ms) until which the prefix is preferred
Trait Implementations§
Source§impl Clone for gnrc_ipv6_nib_pl_t
impl Clone for gnrc_ipv6_nib_pl_t
Source§fn clone(&self) -> gnrc_ipv6_nib_pl_t
fn clone(&self) -> gnrc_ipv6_nib_pl_t
Returns a copy 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 moreSource§impl Debug for gnrc_ipv6_nib_pl_t
impl Debug for gnrc_ipv6_nib_pl_t
Source§impl Default for gnrc_ipv6_nib_pl_t
impl Default for gnrc_ipv6_nib_pl_t
impl Copy for gnrc_ipv6_nib_pl_t
Auto Trait Implementations§
impl Freeze for gnrc_ipv6_nib_pl_t
impl RefUnwindSafe for gnrc_ipv6_nib_pl_t
impl Send for gnrc_ipv6_nib_pl_t
impl Sync for gnrc_ipv6_nib_pl_t
impl Unpin for gnrc_ipv6_nib_pl_t
impl UnwindSafe for gnrc_ipv6_nib_pl_t
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 28 bytes