pub struct LeanRuntimePreflight { /* private fields */ }Expand description
Runtime preflight runner for manifest-backed Lean capabilities.
Layers symbol-table inspection on top of
lean_toolchain::manifest_validation::check_static.
Implementations§
Source§impl LeanRuntimePreflight
impl LeanRuntimePreflight
Sourcepub fn new(spec: LeanBuiltCapability) -> Self
pub fn new(spec: LeanBuiltCapability) -> Self
Create a runtime preflight runner for a build-script capability descriptor.
Sourcepub fn check(&self) -> LeanLoaderReport
pub fn check(&self) -> LeanLoaderReport
Check manifest, artifact, toolchain, dependency, and initializer facts.
Trait Implementations§
Source§impl Clone for LeanRuntimePreflight
impl Clone for LeanRuntimePreflight
Source§fn clone(&self) -> LeanRuntimePreflight
fn clone(&self) -> LeanRuntimePreflight
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 LeanRuntimePreflight
impl Debug for LeanRuntimePreflight
Source§impl PartialEq for LeanRuntimePreflight
impl PartialEq for LeanRuntimePreflight
Source§fn eq(&self, other: &LeanRuntimePreflight) -> bool
fn eq(&self, other: &LeanRuntimePreflight) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanRuntimePreflight
impl StructuralPartialEq for LeanRuntimePreflight
Auto Trait Implementations§
impl Freeze for LeanRuntimePreflight
impl RefUnwindSafe for LeanRuntimePreflight
impl Send for LeanRuntimePreflight
impl Sync for LeanRuntimePreflight
impl Unpin for LeanRuntimePreflight
impl UnsafeUnpin for LeanRuntimePreflight
impl UnwindSafe for LeanRuntimePreflight
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