#[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)