Enum cretonne_codegen::settings::Error
[−]
[src]
pub enum Error { BadName, BadType, BadValue, }
An error produced when changing a setting.
Variants
BadName
No setting by this name exists.
BadType
Type mismatch for setting (e.g., setting an enum setting as a bool).
BadValue
This is not a valid value for this setting.
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.