pub struct ValidateReport {
pub manifest_path: String,
pub diagnostics: Vec<CliDiagnostic>,
pub proof: Option<VerificationReport>,
}Expand description
The result of validating one manifest.
Fields§
§manifest_path: StringThe path that was validated, rendered with Path::display.
diagnostics: Vec<CliDiagnostic>Every observation found, in pipeline order.
proof: Option<VerificationReport>The full proof report, when --prove reached the proving stage.
Nested rather than flattened into Self::diagnostics on purpose:
the counterexamples, the per-obligation SMT-LIB2 systems and the
caveats are the part of a proof worth having, and folding them into
one-line strings would throw exactly that away.
Implementations§
Source§impl ValidateReport
impl ValidateReport
Sourcepub fn exit_code(&self) -> i32
pub fn exit_code(&self) -> i32
This report’s process exit code — see exit_code_for.
Trait Implementations§
Source§impl Clone for ValidateReport
impl Clone for ValidateReport
Source§impl Debug for ValidateReport
impl Debug for ValidateReport
Auto Trait Implementations§
impl Freeze for ValidateReport
impl RefUnwindSafe for ValidateReport
impl Send for ValidateReport
impl Sync for ValidateReport
impl Unpin for ValidateReport
impl UnsafeUnpin for ValidateReport
impl UnwindSafe for ValidateReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more