pub enum QDnsQueryRec {
Ok,
ServFail,
NxDomain,
Refused,
NotImpl,
Truncated,
FormError,
}
Expand description
A StatusBits decoded response status.
Variants§
Ok
Response is Ok and
ServFail
Server side error
NxDomain
Query does not exist, but meaningfull when aa
is true
Refused
A name server refuses to perform the specified operation
NotImpl
A name server does not support the requested kind of query
Truncated
A message was truncated
FormError
A fromat error
Trait Implementations§
Source§impl Clone for QDnsQueryRec
impl Clone for QDnsQueryRec
Source§fn clone(&self) -> QDnsQueryRec
fn clone(&self) -> QDnsQueryRec
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 QDnsQueryRec
impl Debug for QDnsQueryRec
Source§impl Display for QDnsQueryRec
impl Display for QDnsQueryRec
Source§impl PartialEq for QDnsQueryRec
impl PartialEq for QDnsQueryRec
Source§impl TryFrom<StatusBits> for QDnsQueryRec
impl TryFrom<StatusBits> for QDnsQueryRec
impl Copy for QDnsQueryRec
impl Eq for QDnsQueryRec
impl StructuralPartialEq for QDnsQueryRec
Auto Trait Implementations§
impl Freeze for QDnsQueryRec
impl RefUnwindSafe for QDnsQueryRec
impl Send for QDnsQueryRec
impl Sync for QDnsQueryRec
impl Unpin for QDnsQueryRec
impl UnwindSafe for QDnsQueryRec
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