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 Error
pub fn with_msg<S: Into<String>>(msg: S) -> Error
[src]
pub fn with_msg<S: Into<String>>(msg: S) -> Error
Create a new error object with the given message.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
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 Display for Error
[src]
impl Display for Error
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 From<Error> for Error
[src]
impl From<Error> for Error