pub enum CDnsErrorType {
DnsResponse,
RespIdMismatch,
InternalError,
IoError,
MessageTruncated,
RequestTimeout,
ConfigError,
DnsNotAvailable,
HttpError,
}
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
HttpError
HTTP Errors
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
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