#[non_exhaustive]pub enum DhcpV6Mode {
NonTemporaryAddresses,
TemporaryAddresses,
PrefixDelegation(u8),
}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.
NonTemporaryAddresses
TemporaryAddresses
PrefixDelegation(u8)
Request prefix delegation with specified prefix length. This is just hint for DHCPv6 server, server might reply prefix with smaller prefix length.
Trait Implementations§
Source§impl Clone for DhcpV6Mode
impl Clone for DhcpV6Mode
Source§fn clone(&self) -> DhcpV6Mode
fn clone(&self) -> DhcpV6Mode
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 moreSource§impl Debug for DhcpV6Mode
impl Debug for DhcpV6Mode
Source§impl Default for DhcpV6Mode
impl Default for DhcpV6Mode
Source§fn default() -> DhcpV6Mode
fn default() -> DhcpV6Mode
Returns the “default value” for a type. Read more
Source§impl Display for DhcpV6Mode
impl Display for DhcpV6Mode
Source§impl Hash for DhcpV6Mode
impl Hash for DhcpV6Mode
Source§impl Ord for DhcpV6Mode
impl Ord for DhcpV6Mode
Source§fn cmp(&self, other: &DhcpV6Mode) -> Ordering
fn cmp(&self, other: &DhcpV6Mode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DhcpV6Mode
impl PartialEq for DhcpV6Mode
Source§impl PartialOrd for DhcpV6Mode
impl PartialOrd for DhcpV6Mode
impl Copy for DhcpV6Mode
impl Eq for DhcpV6Mode
impl StructuralPartialEq for DhcpV6Mode
Auto Trait Implementations§
impl Freeze for DhcpV6Mode
impl RefUnwindSafe for DhcpV6Mode
impl Send for DhcpV6Mode
impl Sync for DhcpV6Mode
impl Unpin for DhcpV6Mode
impl UnwindSafe for DhcpV6Mode
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