pub enum LeanLoaderDiagnosticCode {
MissingManifest,
MalformedManifest,
UnsupportedManifestSchema,
MissingPrimaryDylib,
MissingTransitiveDependency,
UnsupportedArchitecture,
UnsupportedToolchainFingerprint,
StaleManifest,
MissingInitializer,
MissingImportedSymbol,
}Expand description
Stable preflight diagnostic codes for manifest-backed capability loading.
Single source of truth shared between the runtime preflight in lean-rs
and the wire payloads in the worker-protocol crate.
Variants§
MissingManifest
The manifest path was absent, unreadable, or pointed at a missing file.
MalformedManifest
The manifest was not valid JSON or missed required fields.
UnsupportedManifestSchema
The manifest schema version is newer or otherwise unsupported.
MissingPrimaryDylib
The manifest’s primary capability dylib is missing.
MissingTransitiveDependency
A dependency dylib named by the manifest is missing.
UnsupportedArchitecture
A dylib could not be parsed as a native object for this platform.
UnsupportedToolchainFingerprint
The manifest was produced by an unsupported or mismatched Lean toolchain.
StaleManifest
A manifest appears older than the build artifact it describes.
MissingInitializer
The root module initializer named by the manifest is not exported.
MissingImportedSymbol
A Lean/imported symbol is not supplied by the manifest dependency set.
Implementations§
Trait Implementations§
Source§impl Clone for LeanLoaderDiagnosticCode
impl Clone for LeanLoaderDiagnosticCode
Source§fn clone(&self) -> LeanLoaderDiagnosticCode
fn clone(&self) -> LeanLoaderDiagnosticCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LeanLoaderDiagnosticCode
impl Debug for LeanLoaderDiagnosticCode
Source§impl Display for LeanLoaderDiagnosticCode
impl Display for LeanLoaderDiagnosticCode
Source§impl Hash for LeanLoaderDiagnosticCode
impl Hash for LeanLoaderDiagnosticCode
Source§impl PartialEq for LeanLoaderDiagnosticCode
impl PartialEq for LeanLoaderDiagnosticCode
Source§fn eq(&self, other: &LeanLoaderDiagnosticCode) -> bool
fn eq(&self, other: &LeanLoaderDiagnosticCode) -> bool
self and other values to be equal, and is used by ==.