#[repr(C)]pub struct otSrpClientHostInfo {
pub mName: *const c_char,
pub mAddresses: *const otIp6Address,
pub mNumAddresses: u8,
pub mAutoAddress: bool,
pub mState: otSrpClientItemState,
}
Expand description
Represents an SRP client host info.
Fields§
§mName: *const c_char
< Host name (label) string (NULL if not yet set).
mAddresses: *const otIp6Address
< Array of host IPv6 addresses (NULL if not set or auto address is enabled).
mNumAddresses: u8
< Number of IPv6 addresses in mAddresses
array.
mAutoAddress: bool
< Indicates whether auto address mode is enabled or not.
mState: otSrpClientItemState
< Host info state.
Trait Implementations§
Source§impl Clone for otSrpClientHostInfo
impl Clone for otSrpClientHostInfo
Source§fn clone(&self) -> otSrpClientHostInfo
fn clone(&self) -> otSrpClientHostInfo
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 otSrpClientHostInfo
impl Debug for otSrpClientHostInfo
Source§impl Default for otSrpClientHostInfo
impl Default for otSrpClientHostInfo
impl Copy for otSrpClientHostInfo
Auto Trait Implementations§
impl Freeze for otSrpClientHostInfo
impl RefUnwindSafe for otSrpClientHostInfo
impl !Send for otSrpClientHostInfo
impl !Sync for otSrpClientHostInfo
impl Unpin for otSrpClientHostInfo
impl UnwindSafe for otSrpClientHostInfo
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
)