Struct cranelift_codegen::verifier::VerifierErrors
source · pub struct VerifierErrors(pub Vec<VerifierError>);
Expand description
List of verifier errors.
Tuple Fields§
§0: Vec<VerifierError>
Implementations§
source§impl VerifierErrors
impl VerifierErrors
sourcepub fn as_result(&self) -> VerifierStepResult<()>
pub fn as_result(&self) -> VerifierStepResult<()>
Return a VerifierStepResult
that is fatal if at least one error was reported,
and non-fatal otherwise.
Trait Implementations§
source§impl Debug for VerifierErrors
impl Debug for VerifierErrors
source§impl Default for VerifierErrors
impl Default for VerifierErrors
source§fn default() -> VerifierErrors
fn default() -> VerifierErrors
Returns the “default value” for a type. Read more
source§impl Display for VerifierErrors
impl Display for VerifierErrors
source§impl Fail for VerifierErrors
impl Fail for VerifierErrors
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 moresource§impl From<Vec<VerifierError, Global>> for VerifierErrors
impl From<Vec<VerifierError, Global>> for VerifierErrors
source§fn from(v: Vec<VerifierError>) -> Self
fn from(v: Vec<VerifierError>) -> Self
Converts to this type from the input type.
source§impl From<VerifierErrors> for CodegenError
impl From<VerifierErrors> for CodegenError
source§fn from(e: VerifierErrors) -> Self
fn from(e: VerifierErrors) -> Self
Converts to this type from the input type.
source§impl Into<Result<(), VerifierErrors>> for VerifierErrors
impl Into<Result<(), VerifierErrors>> for VerifierErrors
source§fn into(self) -> VerifierResult<()>
fn into(self) -> VerifierResult<()>
Converts this type into the (usually inferred) input type.
source§impl Into<Vec<VerifierError, Global>> for VerifierErrors
impl Into<Vec<VerifierError, Global>> for VerifierErrors
source§fn into(self) -> Vec<VerifierError>
fn into(self) -> Vec<VerifierError>
Converts this type into the (usually inferred) input type.