pub enum LeanCheckedExportError {
MissingSignatureMetadata {
symbol: String,
},
SignatureMismatch {
symbol: String,
expected: Box<LeanExportSignature>,
manifest: Box<LeanExportSignature>,
},
SymbolKindMismatch {
symbol: String,
manifest: LeanExportSymbolKind,
actual: LeanExportSymbolKind,
},
MissingSymbol {
symbol: String,
source: LeanError,
},
Module(LeanError),
}Expand description
Typed failure from manifest-backed checked export lookup.
Variants§
MissingSignatureMetadata
The manifest has no trusted signature entry for the requested symbol.
SignatureMismatch
The manifest signature does not match the requested Rust call shape.
SymbolKindMismatch
The manifest’s function/global classification does not match the dylib.
MissingSymbol
The manifest entry exists, but the symbol is absent from the loaded library.
Module(LeanError)
The initialized module could not be reopened before lookup.
Trait Implementations§
Source§impl Debug for LeanCheckedExportError
impl Debug for LeanCheckedExportError
Source§impl Display for LeanCheckedExportError
impl Display for LeanCheckedExportError
Source§impl Error for LeanCheckedExportError
impl Error for LeanCheckedExportError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for LeanCheckedExportError
impl RefUnwindSafe for LeanCheckedExportError
impl Send for LeanCheckedExportError
impl Sync for LeanCheckedExportError
impl Unpin for LeanCheckedExportError
impl UnsafeUnpin for LeanCheckedExportError
impl UnwindSafe for LeanCheckedExportError
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