Enum bip_metainfo::error::ParseErrorKind []

pub enum ParseErrorKind {
    Msg(String),
    Io(Error),
    Dir(Error),
    BencodeConvert(BencodeConvertError),
    BencodeParse(BencodeParseError),
    MissingData {
        details: String,
    },
}

The kind of an error.

Variants

A convenient variant for String.

Fields of MissingData

Methods

impl ParseErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for ParseErrorKind

Formats the value using the given formatter.

impl Display for ParseErrorKind

Formats the value using the given formatter. Read more

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

Performs the conversion.

impl From<String> for ParseErrorKind

Performs the conversion.

impl From<ParseError> for ParseErrorKind

Performs the conversion.