#[repr(C, align(4))]pub struct otBorderRouterConfig {
pub mPrefix: otIp6Prefix,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
pub mRloc16: u16,
}Expand description
This structure represents a Border Router configuration.
Fields§
§mPrefix: otIp6PrefixThe IPv6 prefix.
_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>§mRloc16: u16The Border Agent Rloc.
Implementations§
Source§impl otBorderRouterConfig
impl otBorderRouterConfig
pub fn mPreference(&self) -> c_int
pub fn set_mPreference(&mut self, val: c_int)
pub fn mPreferred(&self) -> bool
pub fn set_mPreferred(&mut self, val: bool)
pub fn mSlaac(&self) -> bool
pub fn set_mSlaac(&mut self, val: bool)
pub fn mDhcp(&self) -> bool
pub fn set_mDhcp(&mut self, val: bool)
pub fn mConfigure(&self) -> bool
pub fn set_mConfigure(&mut self, val: bool)
pub fn mDefaultRoute(&self) -> bool
pub fn set_mDefaultRoute(&mut self, val: bool)
pub fn mOnMesh(&self) -> bool
pub fn set_mOnMesh(&mut self, val: bool)
pub fn mStable(&self) -> bool
pub fn set_mStable(&mut self, val: bool)
pub fn mNdDns(&self) -> bool
pub fn set_mNdDns(&mut self, val: bool)
pub fn mDp(&self) -> bool
pub fn set_mDp(&mut self, val: bool)
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>
Trait Implementations§
Source§impl Clone for otBorderRouterConfig
impl Clone for otBorderRouterConfig
Source§fn clone(&self) -> otBorderRouterConfig
fn clone(&self) -> otBorderRouterConfig
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 moreimpl Copy for otBorderRouterConfig
Auto Trait Implementations§
impl Freeze for otBorderRouterConfig
impl RefUnwindSafe for otBorderRouterConfig
impl Send for otBorderRouterConfig
impl Sync for otBorderRouterConfig
impl Unpin for otBorderRouterConfig
impl UnwindSafe for otBorderRouterConfig
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