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(usizeusize),
    Timeout,
    UnknownAlgorithmTypeValue(u8),
    UnknownDnsClassStr(String),
    UnknownDnsClassValue(u16),
    UnrecognizedLabelCode(u8),
    UnrecognizedNsec3Flags(u8),
    UnknownRecordTypeStr(String),
    UnknownRecordTypeValue(u16),
    RrsigsNotPresent(NameRecordType),
    MaxBufferSizeExceeded(usize),
}

Variants

Methods

impl ProtoErrorKind

Trait Implementations

impl From<ProtoErrorKind> for ProtoError

Performs the conversion.

impl Debug for ProtoErrorKind

Formats the value using the given formatter. Read more

impl Display for ProtoErrorKind

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for ProtoErrorKind

Performs the conversion.

impl From<String> for ProtoErrorKind

Performs the conversion.

impl Clone for ProtoErrorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for ProtoErrorKind

impl Sync for ProtoErrorKind