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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.