#[non_exhaustive]pub struct Report {Show 19 fields
pub elinvar: u32,
pub command: &'static str,
pub name: String,
pub verdict: Option<Verdict>,
pub scope: Sizes,
pub shrunk_to: Option<Sizes>,
pub fully_shrunk: bool,
pub instance: Option<Instance>,
pub trace: Option<TraceReport>,
pub broken_at: Option<usize>,
pub broken_witness: Vec<(String, String)>,
pub expect: Option<u64>,
pub expect_met: Option<bool>,
pub note: Option<String>,
pub errors: Vec<Error>,
pub warnings: Vec<Error>,
pub stats: Stats,
pub core: Option<HoldsCore>,
pub story: String,
}Expand description
The result of a command (LOGIC.md 14.1).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.elinvar: u32The schema version.
command: &'static strrun or check.
name: StringThe command’s name.
verdict: Option<Verdict>The verdict; None when there are errors.
scope: SizesThe scope searched.
shrunk_to: Option<Sizes>For a counterexample, the scope it was shrunk to.
fully_shrunk: boolWhether shrinking finished within its budget.
instance: Option<Instance>The instance, without changing relations.
trace: Option<TraceReport>The trace, with changing relations.
broken_at: Option<usize>For a counterexample to always P, the first state where P fails.
broken_witness: Vec<(String, String)>For a counterexample to always all x: S | ..., the first variable
bindings (name, atom) at broken_at that falsify the body (W9).
expect: Option<u64>The command’s expect 0 or expect 1 annotation when present (W16).
expect_met: Option<bool>Whether the verdict met expect (None when unknown or no expect).
note: Option<String>For unknown, which budget ran out and what is known.
errors: Vec<Error>Every error.
warnings: Vec<Error>Non-fatal warnings about the model or command (such as wrapped integer literals or step predicates leaving changing relations unconstrained).
stats: StatsStatistics.
core: Option<HoldsCore>When requested on a holds or vacuous check, or a run with no
instance, which named rules formed the minimal unsatisfiable core
(REQUIREMENTS.md section 8).
story: StringThe text, made from the fields above.
Implementations§
Trait Implementations§
Source§impl Serialize for Report
impl Serialize for Report
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Forget for Report
impl Freeze for Reportwhere
&'static str: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, usize)>: Freeze,
*const ArcInner<Atoms> is !null: Freeze,
PhantomData<ArcInner<Atoms>>: Freeze,
PhantomData<(Relation, TupleSet)>: Freeze,
PhantomData<Instance>: Freeze,
PhantomData<StepReport>: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<Error>: Freeze,
PhantomData<String>: Freeze,
impl Move for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Reportwhere
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, usize)>: UnsafeUnpin,
*const ArcInner<Atoms> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atoms>>: UnsafeUnpin,
PhantomData<(Relation, TupleSet)>: UnsafeUnpin,
PhantomData<Instance>: UnsafeUnpin,
PhantomData<StepReport>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<Error>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Reportwhere
&'static str: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<Atoms>: UnwindSafe,
Arc<Declared>: UnwindSafe,
BTreeMap<u64, SetValZST>: UnwindSafe,
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
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> 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> ⓘ
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> ⓘ
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