Enum cranelift_codegen::settings::SetError
source · Expand description
An error produced when changing a setting.
Variants§
BadName(String)
No setting by this name exists.
BadType
Type mismatch for setting (e.g., setting an enum setting as a bool).
BadValue(String)
This is not a valid value for this setting.
Trait Implementations§
source§impl Fail for SetError
impl Fail for SetError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more