Enum mg_settings::errors::settings::SettingError [] [src]

pub enum SettingError {
    UnknownChoice {
        actual: String,
        expected: Vec<&'static str>,
    },
    UnknownSetting(String),
    WrongType {
        actual: String,
        expected: String,
    },
}

Error when getting/setting settings.

Variants

Unknown setting value choice.

Fields of UnknownChoice

Unknown setting name.

Wrong value type for setting.

Fields of WrongType

Trait Implementations

impl Debug for SettingError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for SettingError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Display for SettingError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for SettingError

impl Sync for SettingError