pub enum YieldOutcome {
Unchanged,
Switch(ScheduleDecision),
}Expand description
Result of an explicit scheduler yield.
Variants§
Unchanged
The current scheduling class kept the same dispatch selected.
Switch(ScheduleDecision)
The yield selected a different execution context.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for YieldOutcome
impl RefUnwindSafe for YieldOutcome
impl Send for YieldOutcome
impl Sync for YieldOutcome
impl Unpin for YieldOutcome
impl UnsafeUnpin for YieldOutcome
impl UnwindSafe for YieldOutcome
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