Struct net::wire::NdiscPrefixInformation
pub struct NdiscPrefixInformation {
pub prefix_len: u8,
pub flags: PrefixInfoFlags,
pub valid_lifetime: Duration,
pub preferred_lifetime: Duration,
pub prefix: Address,
}
Fields§
§prefix_len: u8
§flags: PrefixInfoFlags
§valid_lifetime: Duration
§preferred_lifetime: Duration
§prefix: Address
Trait Implementations§
§impl Clone for PrefixInformation
impl Clone for PrefixInformation
§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 more§impl Debug for PrefixInformation
impl Debug for PrefixInformation
§impl PartialEq<PrefixInformation> for PrefixInformation
impl PartialEq<PrefixInformation> for PrefixInformation
§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 ==
.impl Copy for PrefixInformation
impl Eq for PrefixInformation
impl StructuralEq for PrefixInformation
impl StructuralPartialEq for PrefixInformation
Auto Trait Implementations§
impl RefUnwindSafe for PrefixInformation
impl Send for PrefixInformation
impl Sync for PrefixInformation
impl Unpin for PrefixInformation
impl UnwindSafe for PrefixInformation
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