Struct async_dnssd::QueryRecordData [−][src]
pub struct QueryRecordData {
pub flags: QueryRecordFlags,
pub interface: Interface,
pub rr_class: Class,
// some fields omitted
}
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for QueryRecordData
impl Send for QueryRecordData
impl Sync for QueryRecordData
impl Unpin for QueryRecordData
impl UnwindSafe for QueryRecordData
Blanket Implementations
Mutably borrows from an owned value. Read more