pub enum NativeExecutorError {
ContractMetadataNotFound,
ContractMetadataDecodingError {
error: MetadataDecodingError<'static>,
},
ExpectedContractMetadataFoundTrait,
DuplicateMethodInContract {
crate_name: &'static str,
method_fingerprint: &'static MethodFingerprint,
},
}
Expand description
Native executor errors
Variants§
ContractMetadataNotFound
Contract metadata not found
ContractMetadataDecodingError
Contract metadata decoding error
Fields
§
error: MetadataDecodingError<'static>
ExpectedContractMetadataFoundTrait
Expected contract metadata, found trait
DuplicateMethodInContract
Duplicate method in contract
Fields
§
method_fingerprint: &'static MethodFingerprint
Method fingerprint
Trait Implementations§
Source§impl Debug for NativeExecutorError
impl Debug for NativeExecutorError
Source§impl Display for NativeExecutorError
impl Display for NativeExecutorError
Source§impl Error for NativeExecutorError
impl Error for NativeExecutorError
1.30.0 · 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 NativeExecutorError
impl RefUnwindSafe for NativeExecutorError
impl Send for NativeExecutorError
impl Sync for NativeExecutorError
impl Unpin for NativeExecutorError
impl UnwindSafe for NativeExecutorError
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