pub enum TripReason {
Instructions,
Memory,
}Expand description
Why a sandboxed run was aborted.
Variants§
Instructions
The instruction budget reached zero.
Memory
GC-tracked memory exceeded the configured ceiling.
Trait Implementations§
Source§impl Clone for TripReason
impl Clone for TripReason
Source§fn clone(&self) -> TripReason
fn clone(&self) -> TripReason
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 TripReason
impl Debug for TripReason
Source§impl PartialEq for TripReason
impl PartialEq for TripReason
Source§fn eq(&self, other: &TripReason) -> bool
fn eq(&self, other: &TripReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TripReason
impl Eq for TripReason
impl StructuralPartialEq for TripReason
Auto Trait Implementations§
impl Freeze for TripReason
impl RefUnwindSafe for TripReason
impl Send for TripReason
impl Sync for TripReason
impl Unpin for TripReason
impl UnsafeUnpin for TripReason
impl UnwindSafe for TripReason
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