Enum trust_dns::error::ClientError
[−]
[src]
pub enum ClientError { DecodeError(DecodeError), EncodeError(EncodeError), IoError(Error), NotAllBytesSent { sent: usize, expect: usize, }, NotAllBytesReceived { received: usize, expect: usize, }, IncorrectMessageId { got: u16, expect: u16, }, TimedOut, NoAddress, NoNameServer, TimerError, NoDataReceived, ErrorResponse(ResponseCode), NoRRSIG, NoDNSKEY, NoDS, NoSOARecord(Name), SecNxDomain { proof: Vec<Record>, }, InvalidNsec, InvalidNsec3, NoNsec, }
Variants
DecodeError(DecodeError)
EncodeError(EncodeError)
IoError(Error)
NotAllBytesSent
Fields
sent: usize | |
expect: usize |
NotAllBytesReceived
Fields
received: usize | |
expect: usize |
IncorrectMessageId
Fields
got: u16 | |
expect: u16 |
TimedOut
NoAddress
NoNameServer
TimerError
NoDataReceived
ErrorResponse(ResponseCode)
NoRRSIG
NoDNSKEY
NoDS
NoSOARecord(Name)
SecNxDomain
Fields
proof: Vec<Record> |
InvalidNsec
InvalidNsec3
NoNsec
Trait Implementations
impl Debug for ClientError
[src]
impl Display for ClientError
[src]
impl Error for ClientError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<DecodeError> for ClientError
[src]
fn from(err: DecodeError) -> Self
Performs the conversion.
impl From<EncodeError> for ClientError
[src]
fn from(err: EncodeError) -> Self
Performs the conversion.