[−][src]Struct openthread_sys::otBorderRouterConfig
This structure represents a Border Router configuration.
Fields
mPrefix: otIp6PrefixThe IPv6 prefix.
_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>mRloc16: u16The Border Agent Rloc.
Implementations
impl otBorderRouterConfig[src]
pub fn mPreference(&self) -> c_int[src]
pub fn set_mPreference(&mut self, val: c_int)[src]
pub fn mPreferred(&self) -> bool[src]
pub fn set_mPreferred(&mut self, val: bool)[src]
pub fn mSlaac(&self) -> bool[src]
pub fn set_mSlaac(&mut self, val: bool)[src]
pub fn mDhcp(&self) -> bool[src]
pub fn set_mDhcp(&mut self, val: bool)[src]
pub fn mConfigure(&self) -> bool[src]
pub fn set_mConfigure(&mut self, val: bool)[src]
pub fn mDefaultRoute(&self) -> bool[src]
pub fn set_mDefaultRoute(&mut self, val: bool)[src]
pub fn mOnMesh(&self) -> bool[src]
pub fn set_mOnMesh(&mut self, val: bool)[src]
pub fn mStable(&self) -> bool[src]
pub fn set_mStable(&mut self, val: bool)[src]
pub fn mNdDns(&self) -> bool[src]
pub fn set_mNdDns(&mut self, val: bool)[src]
pub fn mDp(&self) -> bool[src]
pub fn set_mDp(&mut self, val: bool)[src]
pub fn new_bitfield_1(
mPreference: c_int,
mPreferred: bool,
mSlaac: bool,
mDhcp: bool,
mConfigure: bool,
mDefaultRoute: bool,
mOnMesh: bool,
mStable: bool,
mNdDns: bool,
mDp: bool
) -> __BindgenBitfieldUnit<[u8; 2], u8>[src]
mPreference: c_int,
mPreferred: bool,
mSlaac: bool,
mDhcp: bool,
mConfigure: bool,
mDefaultRoute: bool,
mOnMesh: bool,
mStable: bool,
mNdDns: bool,
mDp: bool
) -> __BindgenBitfieldUnit<[u8; 2], u8>
Trait Implementations
impl Clone for otBorderRouterConfig[src]
fn clone(&self) -> otBorderRouterConfig[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for otBorderRouterConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for otBorderRouterConfig
impl Send for otBorderRouterConfig
impl Sync for otBorderRouterConfig
impl Unpin for otBorderRouterConfig
impl UnwindSafe for otBorderRouterConfig
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>,