Enum clams::config::ConfigErrorKind[]

pub enum ConfigErrorKind {
    Msg(String),
    CouldNotRead(Error),
    CouldNotParse(Error),
    NoSuitableConfigFound(Vec<String>),
    // some variants omitted
}

The kind of an error.

Variants

A convenient variant for String.

Methods

impl ConfigErrorKind

A string describing the error kind.

Trait Implementations

impl From<ConfigErrorKind> for ConfigError

Performs the conversion.

impl Debug for ConfigErrorKind

Formats the value using the given formatter. Read more

impl Display for ConfigErrorKind

Formats the value using the given formatter. Read more

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

Performs the conversion.

impl From<String> for ConfigErrorKind

Performs the conversion.

impl From<ConfigError> for ConfigErrorKind

Performs the conversion.

Auto Trait Implementations