pub enum ChoiceKind {
TaskPick,
SelectWinner,
ChanWaiterWake,
TimerTieBreak,
WorkerPlacement,
}Expand description
The class of a scheduling decision — recorded so replay can detect divergence.
Variants§
TaskPick
Which ready task to run next.
SelectWinner
Which ready branch of a Select wins.
ChanWaiterWake
Which blocked channel waiter to wake.
TimerTieBreak
Tie-break order among timers firing on the same logical tick.
WorkerPlacement
Which worker a newly spawned task is placed on (M:N work-stealing).
Trait Implementations§
Source§impl Clone for ChoiceKind
impl Clone for ChoiceKind
Source§fn clone(&self) -> ChoiceKind
fn clone(&self) -> ChoiceKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChoiceKind
impl Debug for ChoiceKind
Source§impl Hash for ChoiceKind
impl Hash for ChoiceKind
Source§impl PartialEq for ChoiceKind
impl PartialEq for ChoiceKind
Source§fn eq(&self, other: &ChoiceKind) -> bool
fn eq(&self, other: &ChoiceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ChoiceKind
impl Eq for ChoiceKind
impl StructuralPartialEq for ChoiceKind
Auto Trait Implementations§
impl Freeze for ChoiceKind
impl RefUnwindSafe for ChoiceKind
impl Send for ChoiceKind
impl Sync for ChoiceKind
impl Unpin for ChoiceKind
impl UnsafeUnpin for ChoiceKind
impl UnwindSafe for ChoiceKind
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