Struct async_dnssd::ResolveHostData
source · pub struct ResolveHostData {
pub flags: QueryRecordFlags,
pub interface: Interface,
/* private fields */
}
Expand description
Optional data when querying for a record; either use its default value or customize it like:
ResolveHostData {
flags: QueryRecordFlags::LONG_LIVED_QUERY,
..Default::default()
};
Fields§
§flags: QueryRecordFlags
flags for query
interface: Interface
interface to query records on
Trait Implementations§
source§impl Clone for ResolveHostData
impl Clone for ResolveHostData
source§fn clone(&self) -> ResolveHostData
fn clone(&self) -> ResolveHostData
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 ResolveHostData
impl Debug for ResolveHostData
source§impl Default for ResolveHostData
impl Default for ResolveHostData
source§fn default() -> ResolveHostData
fn default() -> ResolveHostData
Returns the “default value” for a type. Read more
source§impl Hash for ResolveHostData
impl Hash for ResolveHostData
source§impl Ord for ResolveHostData
impl Ord for ResolveHostData
source§fn cmp(&self, other: &ResolveHostData) -> Ordering
fn cmp(&self, other: &ResolveHostData) -> 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 ResolveHostData
impl PartialEq for ResolveHostData
source§impl PartialOrd for ResolveHostData
impl PartialOrd for ResolveHostData
impl Copy for ResolveHostData
impl Eq for ResolveHostData
impl StructuralPartialEq for ResolveHostData
Auto Trait Implementations§
impl Freeze for ResolveHostData
impl RefUnwindSafe for ResolveHostData
impl Send for ResolveHostData
impl Sync for ResolveHostData
impl Unpin for ResolveHostData
impl UnwindSafe for ResolveHostData
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
)