pub struct ObligationReport {
pub id: String,
pub kind: String,
pub ordinal: u32,
pub spinoff: Option<SpinoffInfo>,
pub advisory: bool,
pub span: Option<SourceSpan>,
pub outcome: OutcomeName,
pub unstable: bool,
pub checks: Vec<CheckReport>,
pub counterexample: Option<Counterexample>,
}Expand description
One obligation: one solver query op.
Fields§
§id: StringThe stable identity: <function>#<kind>/<ordinal> or
<function>#<kind>/spinoff-<n>.
kind: StringThe op kind (Function-Def, Function-Recommends, …).
ordinal: u32Position among the function’s in-module ops of this kind (0 for spinoffs).
spinoff: Option<SpinoffInfo>Spinoff details, for ops Verus ran in their own process.
advisory: boolWhether its failure is advisory (recommends, expand-errors, profile reruns) rather than an error that fails the function.
span: Option<SourceSpan>Verus’s span for the op. Informational; not part of the identity.
outcome: OutcomeNameIts outcome.
unstable: boolWhether any of its checks is unstable (ADR 0009).
checks: Vec<CheckReport>Its check-sat commands, in order.
counterexample: Option<Counterexample>The first model the solver gave for it, if any.
Trait Implementations§
Source§impl Clone for ObligationReport
impl Clone for ObligationReport
Source§impl Debug for ObligationReport
impl Debug for ObligationReport
Source§impl<'de> Deserialize<'de> for ObligationReport
impl<'de> Deserialize<'de> for ObligationReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ObligationReport
Source§impl From<&ObligationRecord> for ObligationReport
impl From<&ObligationRecord> for ObligationReport
Source§fn from(o: &ObligationRecord) -> Self
fn from(o: &ObligationRecord) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ObligationReport
impl PartialEq for ObligationReport
Source§impl Serialize for ObligationReport
impl Serialize for ObligationReport
impl StructuralPartialEq for ObligationReport
Auto Trait Implementations§
impl Forget for ObligationReport
impl Freeze for ObligationReport
impl Move for ObligationReport
impl RefUnwindSafe for ObligationReport
impl Send for ObligationReport
impl Sync for ObligationReport
impl Unpin for ObligationReport
impl UnsafeUnpin for ObligationReport
impl UnwindSafe for ObligationReport
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