Enum rustc_mir::interpret::ResourceExhaustionInfo [−][src]
pub enum ResourceExhaustionInfo {
StackFrameLimitReached,
StepLimitReached,
}Expand description
Error information for when the program exhausted the resources granted to it by the interpreter.
Variants
Expand description
The stack grew too big.
Expand description
The program ran for too long.
The exact limit is set by the const_eval_limit attribute.
Auto Trait Implementations
impl RefUnwindSafe for ResourceExhaustionInfo
impl Send for ResourceExhaustionInfo
impl Sync for ResourceExhaustionInfo
impl Unpin for ResourceExhaustionInfo
impl UnwindSafe for ResourceExhaustionInfo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]