pub enum ProofStateResult {
State(Box<ProofStateInfo>),
Unavailable {
message: String,
proof_boundaries: Vec<ProofBoundaryCandidate>,
proof_boundaries_truncated: bool,
},
Ambiguous {
candidates: Vec<DeclarationTargetInfo>,
},
NeedsBuild {
missing: Vec<String>,
},
}Expand description
Result for ModuleQuerySelector::ProofState.
Variants§
Trait Implementations§
Source§impl Clone for ProofStateResult
impl Clone for ProofStateResult
Source§fn clone(&self) -> ProofStateResult
fn clone(&self) -> ProofStateResult
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 Debug for ProofStateResult
impl Debug for ProofStateResult
impl Eq for ProofStateResult
Source§impl PartialEq for ProofStateResult
impl PartialEq for ProofStateResult
impl StructuralPartialEq for ProofStateResult
Source§impl<'lean> TryFromLean<'lean> for ProofStateResult
impl<'lean> TryFromLean<'lean> for ProofStateResult
Source§fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
Decode
obj into Self, returning a
LeanError::Host with stage
[HostStage::Conversion] if the object’s kind or payload is
outside the type’s representable range. Read moreAuto Trait Implementations§
impl Freeze for ProofStateResult
impl RefUnwindSafe for ProofStateResult
impl Send for ProofStateResult
impl Sync for ProofStateResult
impl Unpin for ProofStateResult
impl UnsafeUnpin for ProofStateResult
impl UnwindSafe for ProofStateResult
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