[][src]Struct cranelift_codegen::verifier::VerifierErrors

pub struct VerifierErrors(pub Vec<VerifierError>);

List of verifier errors.

Methods

impl VerifierErrors
[src]

pub fn new() -> Self
[src]

Return a new VerifierErrors struct.

pub fn is_empty(&self) -> bool
[src]

Return whether no errors were reported.

pub fn has_error(&self) -> bool
[src]

Return whether one or more errors were reported.

pub fn as_result(&self) -> VerifierStepResult<()>
[src]

Return a VerifierStepResult that is fatal if at least one error was reported, and non-fatal otherwise.

Trait Implementations

impl PartialEq<VerifierErrors> for VerifierErrors
[src]

impl Eq for VerifierErrors
[src]

impl Display for VerifierErrors
[src]

impl Debug for VerifierErrors
[src]

impl From<Vec<VerifierError>> for VerifierErrors
[src]

impl From<VerifierErrors> for CodegenError
[src]

impl Into<Vec<VerifierError>> for VerifierErrors
[src]

impl Into<Result<(), VerifierErrors>> for VerifierErrors
[src]

impl Default for VerifierErrors
[src]

impl Fail for VerifierErrors
[src]

fn context<D>(self, context: D) -> Context<D> where
    D: Display + Send + Sync + 'static, 
[src]

Provides context for this failure. Read more

fn compat(self) -> Compat<Self>
[src]

Wraps this failure in a compatibility wrapper that implements std::error::Error. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> AsFail for T where
    T: Fail
[src]