pub enum DnsQueryType {
A,
AAAA,
CNAME,
MX,
TXT,
PTR,
NS,
Other(u16),
}Expand description
DNS query type.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DnsQueryType
impl Clone for DnsQueryType
Source§fn clone(&self) -> DnsQueryType
fn clone(&self) -> DnsQueryType
Returns a duplicate 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 DnsQueryType
impl Debug for DnsQueryType
Source§impl PartialEq for DnsQueryType
impl PartialEq for DnsQueryType
impl StructuralPartialEq for DnsQueryType
Auto Trait Implementations§
impl Freeze for DnsQueryType
impl RefUnwindSafe for DnsQueryType
impl Send for DnsQueryType
impl Sync for DnsQueryType
impl Unpin for DnsQueryType
impl UnsafeUnpin for DnsQueryType
impl UnwindSafe for DnsQueryType
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