pub struct Scheduler {
pub mode: SchedulerMode,
pub seed: Option<u64>,
pub max_concurrency: u32,
pub deterministic: bool,
}Expand description
Deterministic scheduler settings for a topology graph.
Fields§
§mode: SchedulerModeScheduler mode.
seed: Option<u64>Optional deterministic seed.
max_concurrency: u32Maximum number of concurrent node runs.
deterministic: boolWhether scheduling must preserve deterministic replay.
Trait Implementations§
impl Eq for Scheduler
impl StructuralPartialEq for Scheduler
Auto Trait Implementations§
impl Freeze for Scheduler
impl RefUnwindSafe for Scheduler
impl Send for Scheduler
impl Sync for Scheduler
impl Unpin for Scheduler
impl UnsafeUnpin for Scheduler
impl UnwindSafe for Scheduler
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