Struct async_dnssd::BrowseResult
source · pub struct BrowseResult {
pub flags: BrowsedFlags,
pub interface: Interface,
pub service_name: String,
pub reg_type: String,
pub domain: String,
}
Expand description
Browse result
Fields§
§flags: BrowsedFlags
Flags indicating whether the service was added or removed and whether there are more pending results.
interface: Interface
Interface the service was found on.
service_name: String
Name of the service.
reg_type: String
Type of the service
domain: String
Domain the service was found in
Implementations§
Trait Implementations§
source§impl Clone for BrowseResult
impl Clone for BrowseResult
source§fn clone(&self) -> BrowseResult
fn clone(&self) -> BrowseResult
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 BrowseResult
impl Debug for BrowseResult
source§impl Hash for BrowseResult
impl Hash for BrowseResult
source§impl Ord for BrowseResult
impl Ord for BrowseResult
source§fn cmp(&self, other: &BrowseResult) -> Ordering
fn cmp(&self, other: &BrowseResult) -> 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<BrowseResult> for BrowseResult
impl PartialEq<BrowseResult> for BrowseResult
source§fn eq(&self, other: &BrowseResult) -> bool
fn eq(&self, other: &BrowseResult) -> bool
source§impl PartialOrd<BrowseResult> for BrowseResult
impl PartialOrd<BrowseResult> for BrowseResult
source§fn partial_cmp(&self, other: &BrowseResult) -> Option<Ordering>
fn partial_cmp(&self, other: &BrowseResult) -> 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