Struct cranelift_codegen::verifier::VerifierErrors [−][src]
pub struct VerifierErrors(pub Vec<VerifierError>);
List of verifier errors.
Methods
impl VerifierErrors[src]
impl VerifierErrorspub fn new() -> Self[src]
pub fn new() -> SelfReturn a new VerifierErrors struct.
pub fn is_empty(&self) -> bool[src]
pub fn is_empty(&self) -> boolReturn whether no errors were reported.
pub fn has_error(&self) -> bool[src]
pub fn has_error(&self) -> boolReturn whether one or more errors were reported.
Trait Implementations
impl Debug for VerifierErrors[src]
impl Debug for VerifierErrorsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for VerifierErrors[src]
impl Default for VerifierErrorsfn default() -> VerifierErrors[src]
fn default() -> VerifierErrorsReturns the "default value" for a type. Read more
impl PartialEq for VerifierErrors[src]
impl PartialEq for VerifierErrorsfn eq(&self, other: &VerifierErrors) -> bool[src]
fn eq(&self, other: &VerifierErrors) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &VerifierErrors) -> bool[src]
fn ne(&self, other: &VerifierErrors) -> boolThis method tests for !=.
impl Eq for VerifierErrors[src]
impl Eq for VerifierErrorsimpl From<Vec<VerifierError>> for VerifierErrors[src]
impl From<Vec<VerifierError>> for VerifierErrorsfn from(v: Vec<VerifierError>) -> Self[src]
fn from(v: Vec<VerifierError>) -> SelfPerforms the conversion.
impl Into<Vec<VerifierError>> for VerifierErrors[src]
impl Into<Vec<VerifierError>> for VerifierErrorsimpl Display for VerifierErrors[src]
impl Display for VerifierErrorsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<VerifierErrors> for CodegenError[src]
impl From<VerifierErrors> for CodegenErrorfn from(e: VerifierErrors) -> Self[src]
fn from(e: VerifierErrors) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for VerifierErrors
impl Send for VerifierErrorsimpl Sync for VerifierErrors
impl Sync for VerifierErrors