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 for BrowseResult
impl PartialEq for BrowseResult
source§impl PartialOrd for BrowseResult
impl PartialOrd for BrowseResult
impl Eq for BrowseResult
impl StructuralPartialEq for BrowseResult
Auto Trait Implementations§
impl Freeze for BrowseResult
impl RefUnwindSafe for BrowseResult
impl Send for BrowseResult
impl Sync for BrowseResult
impl Unpin for BrowseResult
impl UnwindSafe for BrowseResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)