Struct cranelift_codegen_meta::error::Error [−][src]
pub struct Error { /* fields omitted */ }An error that occurred when the cranelift_codegen_meta crate was generating source files for the cranelift_codegen crate.
Methods
impl Error[src]
impl Errorpub fn with_msg<S: Into<String>>(msg: S) -> Error[src]
pub fn with_msg<S: Into<String>>(msg: S) -> ErrorCreate a new error object with the given message.
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Error[src]
impl Display for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Error> for Error[src]
impl From<Error> for Error