Struct esp_idf_sys::mdns_result_s
source · [−]#[repr(C)]pub struct mdns_result_s {Show 13 fields
pub next: *mut mdns_result_s,
pub tcpip_if: mdns_if_t,
pub ttl: u32,
pub ip_protocol: mdns_ip_protocol_t,
pub instance_name: *mut c_char,
pub service_type: *mut c_char,
pub proto: *mut c_char,
pub hostname: *mut c_char,
pub port: u16,
pub txt: *mut mdns_txt_item_t,
pub txt_value_len: *mut u8,
pub txt_count: usize,
pub addr: *mut mdns_ip_addr_t,
}
Expand description
@brief mDNS query result structure
Fields
next: *mut mdns_result_s
< next result, or NULL for the last result in the list
tcpip_if: mdns_if_t
< interface index
ttl: u32
< time to live
ip_protocol: mdns_ip_protocol_t
< ip_protocol type of the interface (v4/v6)
instance_name: *mut c_char
< instance name
service_type: *mut c_char
< service type
proto: *mut c_char
< srevice protocol
hostname: *mut c_char
< hostname
port: u16
< service port
txt: *mut mdns_txt_item_t
< txt record
txt_value_len: *mut u8
< array of txt value len of each record
txt_count: usize
< number of txt items
addr: *mut mdns_ip_addr_t
< linked list of IP addresses found
Trait Implementations
sourceimpl Clone for mdns_result_s
impl Clone for mdns_result_s
sourcefn clone(&self) -> mdns_result_s
fn clone(&self) -> mdns_result_s
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for mdns_result_s
impl Debug for mdns_result_s
sourceimpl Default for mdns_result_s
impl Default for mdns_result_s
impl Copy for mdns_result_s
Auto Trait Implementations
impl RefUnwindSafe for mdns_result_s
impl !Send for mdns_result_s
impl !Sync for mdns_result_s
impl Unpin for mdns_result_s
impl UnwindSafe for mdns_result_s
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more