[−][src]Struct openthread_sys::otNetifAddress
This structure represents an IPv6 network interface unicast address.
Fields
mAddress: otIp6Address< The IPv6 unicast address.
mPrefixLength: u8< The Prefix length (in bits).
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>mNext: *mut otNetifAddress< A pointer to the next network interface address.
Implementations
impl otNetifAddress[src]
pub fn mPreferred(&self) -> bool[src]
pub fn set_mPreferred(&mut self, val: bool)[src]
pub fn mValid(&self) -> bool[src]
pub fn set_mValid(&mut self, val: bool)[src]
pub fn mScopeOverrideValid(&self) -> bool[src]
pub fn set_mScopeOverrideValid(&mut self, val: bool)[src]
pub fn mScopeOverride(&self) -> c_uint[src]
pub fn set_mScopeOverride(&mut self, val: c_uint)[src]
pub fn mRloc(&self) -> bool[src]
pub fn set_mRloc(&mut self, val: bool)[src]
pub fn new_bitfield_1(
mPreferred: bool,
mValid: bool,
mScopeOverrideValid: bool,
mScopeOverride: c_uint,
mRloc: bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>[src]
mPreferred: bool,
mValid: bool,
mScopeOverrideValid: bool,
mScopeOverride: c_uint,
mRloc: bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for otNetifAddress[src]
fn clone(&self) -> otNetifAddress[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for otNetifAddress[src]
Auto Trait Implementations
impl RefUnwindSafe for otNetifAddress
impl !Send for otNetifAddress
impl !Sync for otNetifAddress
impl Unpin for otNetifAddress
impl UnwindSafe for otNetifAddress
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,