[][src]Struct openthread_sys::otNetifAddress

#[repr(C)]pub struct otNetifAddress {
    pub mAddress: otIp6Address,
    pub mPrefixLength: u8,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub mNext: *mut 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]

Trait Implementations

impl Clone for otNetifAddress[src]

impl Copy for otNetifAddress[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.