pub trait ValidationResult {
    fn has_errors(&self) -> bool;
fn has_warnings(&self) -> bool;
fn errors(&self) -> &[ValidationError];
fn warnings(&self) -> &[ValidationWarning];
fn errors_mut(&mut self) -> &mut Vec<ValidationError>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
;
fn warnings_mut(&mut self) -> &mut Vec<ValidationWarning>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
;
fn error(
        &mut self,
        location: ProblemLocation,
        code: ErrorCode,
        message: String
    );
fn warn(
        &mut self,
        location: ProblemLocation,
        code: WarnCode,
        message: String
    ); fn has_errors_or_warnings(&self) -> bool { ... } }

Required methods

true if errors were identified

true if warnings were identified

The list of identified errors

The list of identified warnings

The list of identified errors

The list of identified warnings

Adds a new error

Adds a new warning

Provided methods

true if errors or warnings were identified

Implementors