Enum fel4_config::ConfigError [−][src]
pub enum ConfigError { FileReadFailure, TomlParseFailure, MissingTable(String), UnexpectedStructure(String), MissingRequiredProperty(String, String), NonStringProperty(&'static str), InvalidValueOption(&'static str, Vec<String>, String), DuplicateProperty(String), NonWhitelistProperty(String), TargetPlatformMismatch(SupportedTarget, SupportedPlatform), }
All the things that could go wrong when reading fel4 configuration data
Variants
FileReadFailure
TomlParseFailure
MissingTable(String)
UnexpectedStructure(String)
MissingRequiredProperty(String, String)
NonStringProperty(&'static str)
InvalidValueOption(&'static str, Vec<String>, String)
DuplicateProperty(String)
NonWhitelistProperty(String)
TargetPlatformMismatch(SupportedTarget, SupportedPlatform)
Trait Implementations
impl Clone for ConfigError
[src]
impl Clone for ConfigError
fn clone(&self) -> ConfigError
[src]
fn clone(&self) -> ConfigError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ConfigError
[src]
impl Debug for ConfigError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ConfigError
[src]
impl PartialEq for ConfigError
fn eq(&self, other: &ConfigError) -> bool
[src]
fn eq(&self, other: &ConfigError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ConfigError) -> bool
[src]
fn ne(&self, other: &ConfigError) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Sync for ConfigError