Struct async_dnssd::ResolveResult
source · pub struct ResolveResult {
pub interface: Interface,
pub fullname: String,
pub host_target: String,
pub port: u16,
pub txt: Vec<u8>,
}
Expand description
Resolve result
Fields§
§interface: Interface
interface service was resolved on
fullname: String
full name of service
host_target: String
hostname the service is provided on
port: u16
port the service is provided on (native endian)
txt: Vec<u8>
TXT RDATA describing service parameters
Trait Implementations§
source§impl Clone for ResolveResult
impl Clone for ResolveResult
source§fn clone(&self) -> ResolveResult
fn clone(&self) -> ResolveResult
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 ResolveResult
impl Debug for ResolveResult
source§impl Hash for ResolveResult
impl Hash for ResolveResult
source§impl Ord for ResolveResult
impl Ord for ResolveResult
source§fn cmp(&self, other: &ResolveResult) -> Ordering
fn cmp(&self, other: &ResolveResult) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ResolveResult> for ResolveResult
impl PartialEq<ResolveResult> for ResolveResult
source§fn eq(&self, other: &ResolveResult) -> bool
fn eq(&self, other: &ResolveResult) -> bool
source§impl PartialOrd<ResolveResult> for ResolveResult
impl PartialOrd<ResolveResult> for ResolveResult
source§fn partial_cmp(&self, other: &ResolveResult) -> Option<Ordering>
fn partial_cmp(&self, other: &ResolveResult) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more