#[non_exhaustive]#[repr(u8)]pub enum AddressHeaderFlag {
Secondary,
Nodad,
Optimistic,
Dadfailed,
Homeaddress,
Deprecated,
Tentative,
Permanent,
Other(u8),
}
Expand description
AddressHeaderFlag is only used for super::AddressHeader and holding subset(first byte) of AddressFlag.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for AddressHeaderFlag
impl Clone for AddressHeaderFlag
source§fn clone(&self) -> AddressHeaderFlag
fn clone(&self) -> AddressHeaderFlag
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 AddressHeaderFlag
impl Debug for AddressHeaderFlag
source§impl From<AddressHeaderFlag> for u8
impl From<AddressHeaderFlag> for u8
source§fn from(v: AddressHeaderFlag) -> u8
fn from(v: AddressHeaderFlag) -> u8
Converts to this type from the input type.
source§impl From<u8> for AddressHeaderFlag
impl From<u8> for AddressHeaderFlag
source§impl PartialEq for AddressHeaderFlag
impl PartialEq for AddressHeaderFlag
source§fn eq(&self, other: &AddressHeaderFlag) -> bool
fn eq(&self, other: &AddressHeaderFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AddressHeaderFlag
impl Eq for AddressHeaderFlag
impl StructuralEq for AddressHeaderFlag
impl StructuralPartialEq for AddressHeaderFlag
Auto Trait Implementations§
impl RefUnwindSafe for AddressHeaderFlag
impl Send for AddressHeaderFlag
impl Sync for AddressHeaderFlag
impl Unpin for AddressHeaderFlag
impl UnwindSafe for AddressHeaderFlag
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