pub struct LeanWorkerDeclarationVerificationFacts {
pub target: Option<LeanWorkerDeclarationTargetInfo>,
pub diagnostics: LeanWorkerElabFailure,
pub unresolved_goals: Vec<LeanWorkerRenderedInfo>,
pub contains_sorry: bool,
pub contains_admit: bool,
pub contains_sorry_ax: bool,
pub axioms: Vec<String>,
pub axioms_truncated: bool,
pub output_truncated: bool,
pub candidates: Vec<LeanWorkerDeclarationTargetInfo>,
pub axioms_available: bool,
}Expand description
Bounded facts returned by declaration verification.
Fields§
§target: Option<LeanWorkerDeclarationTargetInfo>§diagnostics: LeanWorkerElabFailure§unresolved_goals: Vec<LeanWorkerRenderedInfo>§contains_sorry: bool§contains_admit: bool§contains_sorry_ax: bool§axioms: Vec<String>§axioms_truncated: bool§output_truncated: bool§candidates: Vec<LeanWorkerDeclarationTargetInfo>Competing declarations when verification_status is Ambiguous; empty
otherwise.
axioms_available: boolfalse when the axiom dependency set could not be computed (the target
did not resolve, or the walk was not requested): an empty axioms then
means “not computed”, not “no axioms”. true with empty axioms is a
genuine no-nontrivial-axioms result.
Implementations§
Source§impl LeanWorkerDeclarationVerificationFacts
impl LeanWorkerDeclarationVerificationFacts
Facts for a verdict the worker could not substantiate — for example when
the child aborted mid-job and the supervisor synthesised a degraded
verdict. Every field is empty and axioms_available is false, so the
axiom set reads as “not computed” rather than “no axioms”.
Trait Implementations§
Source§impl Clone for LeanWorkerDeclarationVerificationFacts
impl Clone for LeanWorkerDeclarationVerificationFacts
Source§fn clone(&self) -> LeanWorkerDeclarationVerificationFacts
fn clone(&self) -> LeanWorkerDeclarationVerificationFacts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for LeanWorkerDeclarationVerificationFacts
impl<'de> Deserialize<'de> for LeanWorkerDeclarationVerificationFacts
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerDeclarationVerificationFacts, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerDeclarationVerificationFacts, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerDeclarationVerificationFacts
Source§impl PartialEq for LeanWorkerDeclarationVerificationFacts
impl PartialEq for LeanWorkerDeclarationVerificationFacts
Source§fn eq(&self, other: &LeanWorkerDeclarationVerificationFacts) -> bool
fn eq(&self, other: &LeanWorkerDeclarationVerificationFacts) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerDeclarationVerificationFacts
impl Serialize for LeanWorkerDeclarationVerificationFacts
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,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeanWorkerDeclarationVerificationFacts
Auto Trait Implementations§
impl Freeze for LeanWorkerDeclarationVerificationFacts
impl RefUnwindSafe for LeanWorkerDeclarationVerificationFacts
impl Send for LeanWorkerDeclarationVerificationFacts
impl Sync for LeanWorkerDeclarationVerificationFacts
impl Unpin for LeanWorkerDeclarationVerificationFacts
impl UnsafeUnpin for LeanWorkerDeclarationVerificationFacts
impl UnwindSafe for LeanWorkerDeclarationVerificationFacts
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