Struct openthread_sys::otServerConfig
source · #[repr(C)]pub struct otServerConfig {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub mServerDataLength: u8,
pub mServerData: [u8; 248],
pub mRloc16: u16,
}
Expand description
Represents a Server configuration.
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§mServerDataLength: u8
< Length of server data.
mServerData: [u8; 248]
< Server data bytes.
mRloc16: u16
< The Server RLOC16.
Implementations§
source§impl otServerConfig
impl otServerConfig
pub fn mStable(&self) -> bool
pub fn set_mStable(&mut self, val: bool)
pub fn new_bitfield_1(mStable: bool) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for otServerConfig
impl Clone for otServerConfig
source§fn clone(&self) -> otServerConfig
fn clone(&self) -> otServerConfig
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 otServerConfig
impl Debug for otServerConfig
source§impl Default for otServerConfig
impl Default for otServerConfig
impl Copy for otServerConfig
Auto Trait Implementations§
impl Freeze for otServerConfig
impl RefUnwindSafe for otServerConfig
impl Send for otServerConfig
impl Sync for otServerConfig
impl Unpin for otServerConfig
impl UnwindSafe for otServerConfig
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)