Struct async_dnssd::QueryRecordResult
source · pub struct QueryRecordResult {
pub flags: QueriedRecordFlags,
pub interface: Interface,
pub fullname: String,
pub rr_type: Type,
pub rr_class: Class,
pub rdata: Vec<u8>,
pub ttl: u32,
}
Expand description
Query result
Fields§
§flags: QueriedRecordFlags
flags
interface: Interface
interface the record was found on
fullname: String
name of record
rr_type: Type
type of record
rr_class: Class
class of record
rdata: Vec<u8>
wire RDATA of record
ttl: u32
TTL (time to live) of record
Trait Implementations§
source§impl Clone for QueryRecordResult
impl Clone for QueryRecordResult
source§fn clone(&self) -> QueryRecordResult
fn clone(&self) -> QueryRecordResult
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 QueryRecordResult
impl Debug for QueryRecordResult
source§impl Hash for QueryRecordResult
impl Hash for QueryRecordResult
source§impl Ord for QueryRecordResult
impl Ord for QueryRecordResult
source§fn cmp(&self, other: &QueryRecordResult) -> Ordering
fn cmp(&self, other: &QueryRecordResult) -> 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 QueryRecordResult
impl PartialEq for QueryRecordResult
source§impl PartialOrd for QueryRecordResult
impl PartialOrd for QueryRecordResult
impl Eq for QueryRecordResult
impl StructuralPartialEq for QueryRecordResult
Auto Trait Implementations§
impl Freeze for QueryRecordResult
impl RefUnwindSafe for QueryRecordResult
impl Send for QueryRecordResult
impl Sync for QueryRecordResult
impl Unpin for QueryRecordResult
impl UnwindSafe for QueryRecordResult
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
)