Struct smoltcp::wire::NdiscPrefixInformation
source · pub struct NdiscPrefixInformation {
pub prefix_len: u8,
pub flags: PrefixInfoFlags,
pub valid_lifetime: Duration,
pub preferred_lifetime: Duration,
pub prefix: Ipv6Address,
}
Fields§
§prefix_len: u8
§flags: PrefixInfoFlags
§valid_lifetime: Duration
§preferred_lifetime: Duration
§prefix: Ipv6Address
Trait Implementations§
source§impl Clone for PrefixInformation
impl Clone for PrefixInformation
source§fn clone(&self) -> PrefixInformation
fn clone(&self) -> PrefixInformation
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 PrefixInformation
impl Debug for PrefixInformation
source§impl PartialEq<PrefixInformation> for PrefixInformation
impl PartialEq<PrefixInformation> for PrefixInformation
source§fn eq(&self, other: &PrefixInformation) -> bool
fn eq(&self, other: &PrefixInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.