pub enum ParkCommit {
Notified,
Blocked(ScheduleDecision),
}Expand description
Result of rechecking a prepared park at the scheduler safe point.
Variants§
Notified
A concurrent notification cancelled the park before schedule-out.
Blocked(ScheduleDecision)
The thread committed BLOCKED and selected its replacement.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParkCommit
impl RefUnwindSafe for ParkCommit
impl Send for ParkCommit
impl Sync for ParkCommit
impl Unpin for ParkCommit
impl UnsafeUnpin for ParkCommit
impl UnwindSafe for ParkCommit
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