pub struct AddressOrigin(pub u8);
Expand description
Type representing the origin of an address
Tuple Fields§
§0: u8
Implementations§
Source§impl AddressOrigin
impl AddressOrigin
Sourcepub const DHCPV6: AddressOrigin = _
pub const DHCPV6: AddressOrigin = _
Functional equivalent of
otsys::OT_ADDRESS_ORIGIN_DHCPV6
.
Sourcepub const MANUAL: AddressOrigin = _
pub const MANUAL: AddressOrigin = _
Functional equivalent of
otsys::OT_ADDRESS_ORIGIN_MANUAL
.
Sourcepub const SLAAC: AddressOrigin = _
pub const SLAAC: AddressOrigin = _
Functional equivalent of
otsys::OT_ADDRESS_ORIGIN_SLAAC
.
Sourcepub const THREAD: AddressOrigin = _
pub const THREAD: AddressOrigin = _
Functional equivalent of
otsys::OT_ADDRESS_ORIGIN_THREAD
.
Trait Implementations§
Source§impl Clone for AddressOrigin
impl Clone for AddressOrigin
Source§fn clone(&self) -> AddressOrigin
fn clone(&self) -> AddressOrigin
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 AddressOrigin
impl Debug for AddressOrigin
Source§impl Ord for AddressOrigin
impl Ord for AddressOrigin
Source§fn cmp(&self, other: &AddressOrigin) -> Ordering
fn cmp(&self, other: &AddressOrigin) -> 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 AddressOrigin
impl PartialEq for AddressOrigin
Source§impl PartialOrd for AddressOrigin
impl PartialOrd for AddressOrigin
impl Copy for AddressOrigin
impl Eq for AddressOrigin
impl StructuralPartialEq for AddressOrigin
Auto Trait Implementations§
impl Freeze for AddressOrigin
impl RefUnwindSafe for AddressOrigin
impl Send for AddressOrigin
impl Sync for AddressOrigin
impl Unpin for AddressOrigin
impl UnwindSafe for AddressOrigin
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
)