pub struct ExecutionControl { /* private fields */ }Implementations§
Source§impl ExecutionControl
impl ExecutionControl
pub fn new() -> Self
pub async fn gate(&self)
pub fn pause(&self)
pub fn resume(&self)
pub fn step(&self)
pub fn set_delay(&self, ms: u64)
pub fn delay_ms(&self) -> u64
pub fn set_breakpoints(&self, bps: HashSet<String>)
pub fn check_and_pause_if_breakpoint( &self, model_id: &str, element_id: &str, ) -> bool
pub fn is_paused(&self) -> bool
pub fn reset(&self)
Auto Trait Implementations§
impl !Freeze for ExecutionControl
impl RefUnwindSafe for ExecutionControl
impl Send for ExecutionControl
impl Sync for ExecutionControl
impl Unpin for ExecutionControl
impl UnsafeUnpin for ExecutionControl
impl UnwindSafe for ExecutionControl
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