pub enum ExecutableResolutionError {
Decode(DecodeError),
Unsupported {
kind: &'static str,
},
External {
owner: ScAddress,
tag: String,
source: String,
},
}Expand description
Why an inspection or resolution could not produce a Wasm hash.
Public because it is the error type of resolve_external_executable; the
Display output is the actionable message surfaced to CLI users.
Variants§
Decode(DecodeError)
The ledger entry itself could not be decoded.
Unsupported
The executable is a valid non-Wasm variant with no inline hash.
External
A CAP-85 external reference could not be resolved to a Wasm hash.
Trait Implementations§
Source§impl Debug for ExecutableResolutionError
impl Debug for ExecutableResolutionError
Auto Trait Implementations§
impl !RefUnwindSafe for ExecutableResolutionError
impl !UnwindSafe for ExecutableResolutionError
impl Freeze for ExecutableResolutionError
impl Send for ExecutableResolutionError
impl Sync for ExecutableResolutionError
impl Unpin for ExecutableResolutionError
impl UnsafeUnpin for ExecutableResolutionError
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