Enum cdns_rs::error::CDnsErrorType
source · pub enum CDnsErrorType {
DnsResponse,
RespIdMismatch,
InternalError,
IoError,
MessageTruncated,
RequestTimeout,
ConfigError,
DnsNotAvailable,
}
Variants§
DnsResponse
Error related to DNS response parsing
RespIdMismatch
Received response with unknown ID in header
InternalError
Internal error (assertions…)
IoError
Socket, File error
MessageTruncated
Response was truncated
RequestTimeout
Timeout event
ConfigError
Error in configuraion file (format)
DnsNotAvailable
Nameservers unreachable
Trait Implementations§
source§impl Clone for CDnsErrorType
impl Clone for CDnsErrorType
source§fn clone(&self) -> CDnsErrorType
fn clone(&self) -> CDnsErrorType
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 Display for CDnsErrorType
impl Display for CDnsErrorType
source§impl PartialEq for CDnsErrorType
impl PartialEq for CDnsErrorType
source§fn eq(&self, other: &CDnsErrorType) -> bool
fn eq(&self, other: &CDnsErrorType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CDnsErrorType
impl StructuralPartialEq for CDnsErrorType
Auto Trait Implementations§
impl Freeze for CDnsErrorType
impl RefUnwindSafe for CDnsErrorType
impl Send for CDnsErrorType
impl Sync for CDnsErrorType
impl Unpin for CDnsErrorType
impl UnwindSafe for CDnsErrorType
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