pub enum ModuleQueryBatchCachedOutcome {
Ok {
result: ModuleQueryBatchEnvelope,
imports: Vec<String>,
facts: ModuleQueryCacheFacts,
},
MissingImports {
result: ModuleQueryBatchEnvelope,
imports: Vec<String>,
missing: Vec<String>,
facts: ModuleQueryCacheFacts,
},
HeaderParseFailed {
diagnostics: LeanElabFailure,
facts: ModuleQueryCacheFacts,
},
Unsupported,
}Expand description
Header-aware batched module-query outcome with cache/timing facts.
Variants§
Ok
MissingImports
HeaderParseFailed
Unsupported
Trait Implementations§
Source§impl Clone for ModuleQueryBatchCachedOutcome
impl Clone for ModuleQueryBatchCachedOutcome
Source§fn clone(&self) -> ModuleQueryBatchCachedOutcome
fn clone(&self) -> ModuleQueryBatchCachedOutcome
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<'lean> TryFromLean<'lean> for ModuleQueryBatchCachedOutcome
impl<'lean> TryFromLean<'lean> for ModuleQueryBatchCachedOutcome
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 ModuleQueryBatchCachedOutcome
impl RefUnwindSafe for ModuleQueryBatchCachedOutcome
impl Send for ModuleQueryBatchCachedOutcome
impl Sync for ModuleQueryBatchCachedOutcome
impl Unpin for ModuleQueryBatchCachedOutcome
impl UnsafeUnpin for ModuleQueryBatchCachedOutcome
impl UnwindSafe for ModuleQueryBatchCachedOutcome
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