pub enum LimitExceeded {
Steps {
maximum: u64,
},
RecursionDepth {
maximum: u32,
},
Deadline {
timeout_ms: u128,
},
CapabilityCalls {
maximum: u32,
},
ValueBytes {
maximum: u64,
},
}Expand description
A limit a running script exhausted.
Variants§
Steps
The statement/loop/call budget ran out.
RecursionDepth
Shell functions nested too deeply.
Deadline
The script exceeded its wall-clock deadline.
CapabilityCalls
The script drove too many capability invocations.
ValueBytes
The script materialized more value bytes than it is allowed to.
Trait Implementations§
Source§impl Clone for LimitExceeded
impl Clone for LimitExceeded
Source§fn clone(&self) -> LimitExceeded
fn clone(&self) -> LimitExceeded
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 moreimpl Copy for LimitExceeded
Source§impl Debug for LimitExceeded
impl Debug for LimitExceeded
impl Eq for LimitExceeded
Source§impl PartialEq for LimitExceeded
impl PartialEq for LimitExceeded
impl StructuralPartialEq for LimitExceeded
Auto Trait Implementations§
impl Freeze for LimitExceeded
impl RefUnwindSafe for LimitExceeded
impl Send for LimitExceeded
impl Sync for LimitExceeded
impl Unpin for LimitExceeded
impl UnsafeUnpin for LimitExceeded
impl UnwindSafe for LimitExceeded
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.