pub enum LimitAbortStrategyError<RunnerError> {
Runner(RunnerError),
LimitExceeded {
limit_micro_step_count: u64,
limit_micro_step_exceeded_count: usize,
},
}Expand description
Errors associated with the LimitAbortStrategy.
Variants§
Runner(RunnerError)
An error originating from the execution engine.
LimitExceeded
Simulation aborted due to exceeding the maximum micro-step limit.
Trait Implementations§
Source§impl<RunnerError: Debug> Debug for LimitAbortStrategyError<RunnerError>
impl<RunnerError: Debug> Debug for LimitAbortStrategyError<RunnerError>
Source§impl<RunnerError: Display> Display for LimitAbortStrategyError<RunnerError>
impl<RunnerError: Display> Display for LimitAbortStrategyError<RunnerError>
Source§impl<RunnerError: Error> Error for LimitAbortStrategyError<RunnerError>
impl<RunnerError: Error> Error for LimitAbortStrategyError<RunnerError>
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<RunnerError> Freeze for LimitAbortStrategyError<RunnerError>where
RunnerError: Freeze,
impl<RunnerError> RefUnwindSafe for LimitAbortStrategyError<RunnerError>where
RunnerError: RefUnwindSafe,
impl<RunnerError> Send for LimitAbortStrategyError<RunnerError>where
RunnerError: Send,
impl<RunnerError> Sync for LimitAbortStrategyError<RunnerError>where
RunnerError: Sync,
impl<RunnerError> Unpin for LimitAbortStrategyError<RunnerError>where
RunnerError: Unpin,
impl<RunnerError> UnsafeUnpin for LimitAbortStrategyError<RunnerError>where
RunnerError: UnsafeUnpin,
impl<RunnerError> UnwindSafe for LimitAbortStrategyError<RunnerError>where
RunnerError: UnwindSafe,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more