#[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§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
)