Enum sawp_dns::enums::TSigResponseCode
source · [−]#[repr(u16)]
pub enum TSigResponseCode {
Show 20 variants
NOERROR,
FORMATERROR,
SERVERFAILURE,
NAMEERROR,
NOTIMPLEMENTED,
REFUSED,
YXDOMAIN,
YXRRSET,
NXRRSET,
NOTAUTH,
NOTZONE,
BADSIGNATURE,
BADKEY,
BADTIME,
BADMODE,
BADNAME,
BADALG,
BADTRUNC,
BADCOOKIE,
UNKNOWN,
}
Variants
NOERROR
No error condition.
FORMATERROR
The name server was unable to interpret the query.
SERVERFAILURE
There was a problem with the name server.
NAMEERROR
The domain name referenced in the query does not exist.
NOTIMPLEMENTED
The name server does not support the requested kind of query.
REFUSED
The name server’s policy forbids providing this information.
YXDOMAIN
Name exists when it should not.
YXRRSET
RR set exists when it should not.
NXRRSET
RR set that should exist does not.
NOTAUTH
Server not authoritative for zone or client not authorized.
NOTZONE
Name not in contained zone.
BADSIGNATURE
Bad OPT version
BADKEY
Key not recognized
BADTIME
Signature out of time window
BADMODE
Bad TKEY mode
BADNAME
Duplicate key name
BADALG
Algorithm not supported
BADTRUNC
Bad truncation
BADCOOKIE
Bad/missing server cookie
UNKNOWN
Implementations
Trait Implementations
sourceimpl Clone for TSigResponseCode
impl Clone for TSigResponseCode
sourcefn clone(&self) -> TSigResponseCode
fn clone(&self) -> TSigResponseCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TSigResponseCode
impl Debug for TSigResponseCode
sourceimpl PartialEq<TSigResponseCode> for TSigResponseCode
impl PartialEq<TSigResponseCode> for TSigResponseCode
sourceimpl TryFrom<u16> for TSigResponseCode
impl TryFrom<u16> for TSigResponseCode
type Error = TryFromPrimitiveError<TSigResponseCode>
type Error = TryFromPrimitiveError<TSigResponseCode>
The type returned in the event of a conversion error.
sourcefn try_from(number: u16) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u16) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for TSigResponseCode
impl TryFromPrimitive for TSigResponseCode
type Primitive = u16
const NAME: &'static str = "TSigResponseCode"
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for TSigResponseCode
impl StructuralPartialEq for TSigResponseCode
Auto Trait Implementations
impl RefUnwindSafe for TSigResponseCode
impl Send for TSigResponseCode
impl Sync for TSigResponseCode
impl Unpin for TSigResponseCode
impl UnwindSafe for TSigResponseCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more