Enum trust_dns::error::EncodeErrorKind []

pub enum EncodeErrorKind {
    Msg(String),
    CharacterDataTooLong(usize),
    LabelBytesTooLong(usize),
    DomainNameTooLong(usize),
}

Variants

Msg(String)CharacterDataTooLong(usize)LabelBytesTooLong(usize)DomainNameTooLong(usize)

Methods

impl ErrorKind

fn description(&self) -> &str

Trait Implementations

impl Debug for ErrorKind

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for ErrorKind

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

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

fn from(s: &'a str) -> Self

Performs the conversion.

impl From<String> for ErrorKind

fn from(s: String) -> Self

Performs the conversion.