Struct async_dnssd::BrowseResult
[−]
[src]
pub struct BrowseResult {
pub flags: BrowsedFlags,
pub interface: Interface,
pub service_name: String,
pub reg_type: String,
pub domain: String,
}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
Methods
impl BrowseResult[src]
fn resolve(&self, handle: &Handle) -> Result<Resolve>
Resolve browse result.
Should check before whether result has the Add flag, as
otherwise it probably won't find anything.
Trait Implementations
impl Clone for BrowseResult[src]
fn clone(&self) -> BrowseResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for BrowseResult[src]
fn eq(&self, __arg_0: &BrowseResult) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &BrowseResult) -> bool
This method tests for !=.
impl Eq for BrowseResult[src]
impl PartialOrd for BrowseResult[src]
fn partial_cmp(&self, __arg_0: &BrowseResult) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &BrowseResult) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &BrowseResult) -> bool
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: &BrowseResult) -> bool
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &BrowseResult) -> bool
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for BrowseResult[src]
fn cmp(&self, __arg_0: &BrowseResult) -> Ordering
This method returns an Ordering between self and other. Read more
impl Hash for BrowseResult[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more