Struct cranelift_codegen::verifier::VerifierErrors [−][src]
List of verifier errors.
Implementations
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.
pub fn report(&mut self, error: impl Into<VerifierError>)[src]
Report an error, adding it to the list of errors.
pub fn fatal(
&mut self,
error: impl Into<VerifierError>
) -> VerifierStepResult<()>[src]
&mut self,
error: impl Into<VerifierError>
) -> VerifierStepResult<()>
Report a fatal error and return Err.
pub fn nonfatal(
&mut self,
error: impl Into<VerifierError>
) -> VerifierStepResult<()>[src]
&mut self,
error: impl Into<VerifierError>
) -> VerifierStepResult<()>
Report a non-fatal error and return Ok.
Trait Implementations
impl Clone for VerifierErrors[src]
fn clone(&self) -> VerifierErrors[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for VerifierErrors[src]
impl Default for VerifierErrors[src]
fn default() -> VerifierErrors[src]
impl Display for VerifierErrors[src]
impl Eq for VerifierErrors[src]
impl Error for VerifierErrors[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>[src]
pub fn description(&self) -> &str1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>1.0.0[src]
impl From<Vec<VerifierError, Global>> for VerifierErrors[src]
fn from(v: Vec<VerifierError>) -> Self[src]
impl From<VerifierErrors> for CodegenError[src]
fn from(source: VerifierErrors) -> Self[src]
impl Into<Result<(), VerifierErrors>> for VerifierErrors[src]
fn into(self) -> VerifierResult<()>[src]
impl Into<Vec<VerifierError, Global>> for VerifierErrors[src]
fn into(self) -> Vec<VerifierError>[src]
impl PartialEq<VerifierErrors> for VerifierErrors[src]
fn eq(&self, other: &VerifierErrors) -> bool[src]
fn ne(&self, other: &VerifierErrors) -> bool[src]
impl StructuralEq for VerifierErrors[src]
impl StructuralPartialEq for VerifierErrors[src]
Auto Trait Implementations
impl RefUnwindSafe for VerifierErrors
impl Send for VerifierErrors
impl Sync for VerifierErrors
impl Unpin for VerifierErrors
impl UnwindSafe for VerifierErrors
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,