Enum trust_dns_proto::error::ProtoErrorKind [−]
pub enum ProtoErrorKind { Msg(String), Io, AddrParseError, ParseIntError, Utf8Error, FromUtf8Error, SSL, Ring, UrlParsingError, Timer, Canceled(Canceled), CharacterDataTooLong(usize), DnsKeyProtocolNot3(u8), DomainNameTooLong(usize), EdnsNameNotRoot(Name), LabelBytesTooLong(usize), Message(&'static str), NoError, IncorrectRDataLengthRead(usize, usize), Timeout, UnknownAlgorithmTypeValue(u8), UnknownDnsClassStr(String), UnknownDnsClassValue(u16), UnrecognizedLabelCode(u8), UnrecognizedNsec3Flags(u8), UnknownRecordTypeStr(String), UnknownRecordTypeValue(u16), RrsigsNotPresent(Name, RecordType), MaxBufferSizeExceeded(usize), }
Variants
Msg(String)
Io
AddrParseError
ParseIntError
Utf8Error
FromUtf8Error
SSL
Ring
UrlParsingError
Timer
Canceled(Canceled)
CharacterDataTooLong(usize)
DnsKeyProtocolNot3(u8)
DomainNameTooLong(usize)
EdnsNameNotRoot(Name)
LabelBytesTooLong(usize)
Message(&'static str)
NoError
IncorrectRDataLengthRead(usize, usize)
Timeout
UnknownAlgorithmTypeValue(u8)
UnknownDnsClassStr(String)
UnknownDnsClassValue(u16)
UnrecognizedLabelCode(u8)
UnrecognizedNsec3Flags(u8)
UnknownRecordTypeStr(String)
UnknownRecordTypeValue(u16)
RrsigsNotPresent(Name, RecordType)
MaxBufferSizeExceeded(usize)
Methods
impl ProtoErrorKind
impl ProtoErrorKind
pub fn description(&self) -> &str
pub fn description(&self) -> &str
Trait Implementations
impl From<ProtoErrorKind> for ProtoError
impl From<ProtoErrorKind> for ProtoError
fn from(e: ProtoErrorKind) -> Self
fn from(e: ProtoErrorKind) -> Self
Performs the conversion.
impl Debug for ProtoErrorKind
impl Debug for ProtoErrorKind
impl Display for ProtoErrorKind
impl Display for ProtoErrorKind
impl<'a> From<&'a str> for ProtoErrorKind
impl<'a> From<&'a str> for ProtoErrorKind
impl From<String> for ProtoErrorKind
impl From<String> for ProtoErrorKind
impl Clone for ProtoErrorKind
[src]
impl Clone for ProtoErrorKind
Auto Trait Implementations
impl Send for ProtoErrorKind
impl Send for ProtoErrorKind
impl Sync for ProtoErrorKind
impl Sync for ProtoErrorKind