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