pub enum Rcode {
Show 21 variants
NoError,
FormErr,
ServFail,
NXDomain,
NotImp,
Refused,
YXDomain,
YXRRSet,
NXRRSet,
NotAuth,
NotZone,
BADVERS,
BADSIG,
BADKEY,
BADTIME,
BADMODE,
BADNAME,
BADALG,
BADTRUNC,
BADCOOKIE,
Unknown(u16),
}Variants§
NoError
No Error RFC 1035
FormErr
Format Error RFC 1035
ServFail
Server Failure RFC 1035
NXDomain
Non-Existent Domain RFC 1035
NotImp
Not Implemented RFC 1035
Refused
Query Refused RFC 1035
YXDomain
Name Exists when it should not RFC 2136
YXRRSet
RR Set Exists when it should not RFC 2136
NXRRSet
RR Set that should exist does not RFC 2136
NotAuth
NotZone
Name not contained in zone RFC 2136
BADVERS
Bad OPT Version RFC 6891
BADSIG
TSIG Signature Failure RFC 8945
BADKEY
Key not recognized RFC 8945
BADTIME
Signature out of time window RFC 8945
BADMODE
Bad TKEY Mode RFC 2930
BADNAME
Duplicate key name RFC 2930
BADALG
Algorithm not supported RFC 2930
BADTRUNC
Bad Truncation RFC 4635
BADCOOKIE
Bad/missing Server Cookie RFC 7873
Unknown(u16)
An unknown or unregistered response code was received.
Implementations§
Trait Implementations§
Source§impl PartialOrd for Rcode
impl PartialOrd for Rcode
impl Copy for Rcode
impl Eq for Rcode
impl StructuralPartialEq for Rcode
Auto Trait Implementations§
impl Freeze for Rcode
impl RefUnwindSafe for Rcode
impl Send for Rcode
impl Sync for Rcode
impl Unpin for Rcode
impl UnsafeUnpin for Rcode
impl UnwindSafe for Rcode
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