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