#[repr(transparent)]pub struct Ipv6AddressOrigin(pub u8);
Expand description
Origin of the local IP address.
Tuple Fields§
§0: u8
Implementations§
Source§impl Ipv6AddressOrigin
impl Ipv6AddressOrigin
Sourcepub const MANUAL: Ipv6AddressOrigin
pub const MANUAL: Ipv6AddressOrigin
Local IP address was manually configured.
Sourcepub const STATELESS_AUTO_CONFIGURATION: Ipv6AddressOrigin
pub const STATELESS_AUTO_CONFIGURATION: Ipv6AddressOrigin
Local IP address assigned through IPv6 stateless auto-configuration.
Sourcepub const STATEFUL_CONFIGURATION: Ipv6AddressOrigin
pub const STATEFUL_CONFIGURATION: Ipv6AddressOrigin
Local IP address assigned through IPv6 stateful configuration.
Trait Implementations§
Source§impl Clone for Ipv6AddressOrigin
impl Clone for Ipv6AddressOrigin
Source§fn clone(&self) -> Ipv6AddressOrigin
fn clone(&self) -> Ipv6AddressOrigin
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 Ipv6AddressOrigin
impl Debug for Ipv6AddressOrigin
Source§impl Hash for Ipv6AddressOrigin
impl Hash for Ipv6AddressOrigin
Source§impl Ord for Ipv6AddressOrigin
impl Ord for Ipv6AddressOrigin
Source§fn cmp(&self, other: &Ipv6AddressOrigin) -> Ordering
fn cmp(&self, other: &Ipv6AddressOrigin) -> 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 Ipv6AddressOrigin
impl PartialEq for Ipv6AddressOrigin
Source§impl PartialOrd for Ipv6AddressOrigin
impl PartialOrd for Ipv6AddressOrigin
impl Copy for Ipv6AddressOrigin
impl Eq for Ipv6AddressOrigin
impl StructuralPartialEq for Ipv6AddressOrigin
Auto Trait Implementations§
impl Freeze for Ipv6AddressOrigin
impl RefUnwindSafe for Ipv6AddressOrigin
impl Send for Ipv6AddressOrigin
impl Sync for Ipv6AddressOrigin
impl Unpin for Ipv6AddressOrigin
impl UnwindSafe for Ipv6AddressOrigin
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