pub struct Executor { /* private fields */ }
Expand description
Deterministic runtime that randomly selects tasks to run based on a seed.
Implementations§
source§impl Executor
impl Executor
sourcepub fn init(cfg: Config) -> (Runner, Context, Arc<Auditor>)
pub fn init(cfg: Config) -> (Runner, Context, Arc<Auditor>)
Initialize a new deterministic
runtime with the given seed and cycle duration.
Auto Trait Implementations§
impl !Freeze for Executor
impl !RefUnwindSafe for Executor
impl Send for Executor
impl Sync for Executor
impl Unpin for Executor
impl !UnwindSafe for Executor
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