pub enum SimOverride {
ExecutedBySim,
ExecuteByRuntime,
Errored(String),
}
Expand description
This is the answer the simulator can give to control the simulation flow.
Variants§
ExecutedBySim
The callback took care of the logic on the simulation side and the actual implementation needs to be skipped.
ExecuteByRuntime
The actual implementation needs to be executed.
Errored(String)
Emulated the behavior of an erroring task (same as return Err(..) in the normal tasks methods).
Trait Implementations§
Source§impl PartialEq for SimOverride
impl PartialEq for SimOverride
impl StructuralPartialEq for SimOverride
Auto Trait Implementations§
impl Freeze for SimOverride
impl RefUnwindSafe for SimOverride
impl Send for SimOverride
impl Sync for SimOverride
impl Unpin for SimOverride
impl UnwindSafe for SimOverride
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