Enum irc::error::ConfigError[][src]

pub enum ConfigError {
    InvalidToml(TomlError),
    ConfigFormatDisabled {
        format: &'static str,
    },
    UnknownConfigFormat {
        format: String,
    },
    MissingExtension,
    NicknameNotSpecified,
    ServerNotSpecified,
}

Errors that occur with configurations.

Variants

Failed to parse as TOML.

Failed to parse the given format because it was disabled at compile-time.

Fields of ConfigFormatDisabled

The disabled file format.

Could not identify the given file format.

Fields of UnknownConfigFormat

The unknown file extension.

File was missing an extension to identify file format.

Configuration does not specify a nickname.

Configuration does not specify a server.

Trait Implementations

impl Debug for ConfigError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ConfigError

impl Sync for ConfigError