pub enum RuntimeErrorKind {
Show 21 variants
UncaughtThrow {
value: Value,
origin: ThrowOrigin,
},
FuelExhausted {
limit: u64,
},
CallDepthExceeded {
limit: usize,
},
RegisterLimitExceeded {
limit: usize,
},
ArgumentLimitExceeded {
limit: u32,
requested: u32,
},
HeapSlotLimitExceeded {
limit: usize,
},
HeapByteLimitExceeded {
limit: usize,
},
ModuleCellLimitExceeded {
limit: usize,
},
DynamicModuleLimitExceeded {
limit: usize,
},
MicrotaskQueueLimitExceeded {
limit: usize,
},
MicrotaskDrainReentry,
TimerProviderFailure {
message: String,
},
TimerCapacityExceeded {
limit: usize,
},
TimerCheckpointReentry,
InvalidDynamicScript {
reason: &'static str,
},
TemporalDeadZone {
module: ModuleId,
binding: BindingId,
},
ExternalModuleUnavailable {
module: ModuleId,
edge: EdgeId,
},
DynamicImportEdgeMissing {
module: ModuleId,
specifier: ConstantId,
},
InvalidVerifiedProgram {
module: ModuleId,
instruction: Instruction,
},
InvalidValue {
value: Value,
},
InvalidRuntimeHeapReference {
slot: u32,
},
}Variants§
UncaughtThrow
FuelExhausted
CallDepthExceeded
RegisterLimitExceeded
ArgumentLimitExceeded
HeapSlotLimitExceeded
HeapByteLimitExceeded
ModuleCellLimitExceeded
DynamicModuleLimitExceeded
MicrotaskQueueLimitExceeded
MicrotaskDrainReentry
TimerProviderFailure
TimerCapacityExceeded
TimerCheckpointReentry
InvalidDynamicScript
TemporalDeadZone
DynamicImportEdgeMissing
InvalidVerifiedProgram
InvalidValue
InvalidRuntimeHeapReference
Trait Implementations§
Source§impl Clone for RuntimeErrorKind
impl Clone for RuntimeErrorKind
Source§fn clone(&self) -> RuntimeErrorKind
fn clone(&self) -> RuntimeErrorKind
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 RuntimeErrorKind
impl Debug for RuntimeErrorKind
impl Eq for RuntimeErrorKind
Source§impl PartialEq for RuntimeErrorKind
impl PartialEq for RuntimeErrorKind
impl StructuralPartialEq for RuntimeErrorKind
Auto Trait Implementations§
impl Freeze for RuntimeErrorKind
impl RefUnwindSafe for RuntimeErrorKind
impl Send for RuntimeErrorKind
impl Sync for RuntimeErrorKind
impl Unpin for RuntimeErrorKind
impl UnsafeUnpin for RuntimeErrorKind
impl UnwindSafe for RuntimeErrorKind
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