Struct openthread_sys::otDnssdHostInfo
source · #[repr(C)]pub struct otDnssdHostInfo {
pub mAddressNum: u8,
pub mAddresses: *const otIp6Address,
pub mTtl: u32,
}
Expand description
Represents information of a discovered host for a DNS-SD query.
Fields§
§mAddressNum: u8
< Number of host IPv6 addresses.
mAddresses: *const otIp6Address
< Host IPv6 addresses.
mTtl: u32
< Service TTL (in seconds).
Trait Implementations§
source§impl Clone for otDnssdHostInfo
impl Clone for otDnssdHostInfo
source§fn clone(&self) -> otDnssdHostInfo
fn clone(&self) -> otDnssdHostInfo
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 otDnssdHostInfo
impl Debug for otDnssdHostInfo
source§impl Default for otDnssdHostInfo
impl Default for otDnssdHostInfo
impl Copy for otDnssdHostInfo
Auto Trait Implementations§
impl Freeze for otDnssdHostInfo
impl RefUnwindSafe for otDnssdHostInfo
impl !Send for otDnssdHostInfo
impl !Sync for otDnssdHostInfo
impl Unpin for otDnssdHostInfo
impl UnwindSafe for otDnssdHostInfo
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
)