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
sourceimpl BrowseResult
impl BrowseResult
Trait Implementations
sourceimpl Clone for BrowseResult
impl Clone for BrowseResult
sourcefn clone(&self) -> BrowseResult
fn clone(&self) -> BrowseResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BrowseResult
impl Debug for BrowseResult
sourceimpl Hash for BrowseResult
impl Hash for BrowseResult
sourceimpl Ord for BrowseResult
impl Ord for BrowseResult
sourcefn cmp(&self, other: &BrowseResult) -> Ordering
fn cmp(&self, other: &BrowseResult) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<BrowseResult> for BrowseResult
impl PartialEq<BrowseResult> for BrowseResult
sourcefn eq(&self, other: &BrowseResult) -> bool
fn eq(&self, other: &BrowseResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BrowseResult) -> bool
fn ne(&self, other: &BrowseResult) -> bool
This method tests for !=
.
sourceimpl PartialOrd<BrowseResult> for BrowseResult
impl PartialOrd<BrowseResult> for BrowseResult
sourcefn partial_cmp(&self, other: &BrowseResult) -> Option<Ordering>
fn partial_cmp(&self, other: &BrowseResult) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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
impl Eq for BrowseResult
impl StructuralEq for BrowseResult
impl StructuralPartialEq for BrowseResult
Auto Trait Implementations
impl RefUnwindSafe for BrowseResult
impl Send for BrowseResult
impl Sync for BrowseResult
impl Unpin for BrowseResult
impl UnwindSafe for BrowseResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more