Enum nex_packet::dns::RetCode
source · pub enum RetCode {
Show 21 variants
NoError,
FormErr,
ServFail,
NXDomain,
NotImp,
Refused,
YXDomain,
YXRRSet,
NXRRSet,
NotAuth,
NotZone,
Dsotypeni,
BadVers,
BadKey,
BadTime,
BadMode,
BadName,
BadAlg,
BadTrunc,
BadCookie,
Unassigned(u8),
}Expand description
Represents an DNS return code. https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6
Variants§
NoError
FormErr
ServFail
NXDomain
NotImp
Refused
YXDomain
YXRRSet
NXRRSet
NotAuth
NotZone
Dsotypeni
BadVers
BadKey
BadTime
BadMode
BadName
BadAlg
BadTrunc
BadCookie
Unassigned(u8)
Implementations§
Trait Implementations§
source§impl PartialEq for RetCode
impl PartialEq for RetCode
source§impl PrimitiveValues for RetCode
impl PrimitiveValues for RetCode
impl Copy for RetCode
impl Eq for RetCode
impl StructuralPartialEq for RetCode
Auto Trait Implementations§
impl Freeze for RetCode
impl RefUnwindSafe for RetCode
impl Send for RetCode
impl Sync for RetCode
impl Unpin for RetCode
impl UnwindSafe for RetCode
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