pub enum ProcessFileOutcome {
Processed(ProcessedFile),
Unsupported,
}Expand description
Outcome of crate::LeanSession::process_with_info_tree.
Variants§
Processed(ProcessedFile)
The elaborator ran and produced an Elab.InfoTree projection.
ProcessedFile::diagnostics carries every error-severity entry
the elaborator emitted; callers that need to distinguish
heartbeat exhaustion from other failures should match on the
diagnostics there.
Unsupported
The capability dylib does not export the
lean_rs_host_process_with_info_tree shim. No FFI call was
made; callers can fall back or degrade as appropriate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcessFileOutcome
impl RefUnwindSafe for ProcessFileOutcome
impl Send for ProcessFileOutcome
impl Sync for ProcessFileOutcome
impl Unpin for ProcessFileOutcome
impl UnsafeUnpin for ProcessFileOutcome
impl UnwindSafe for ProcessFileOutcome
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