Enum rayon_core::Yield
source · [−]pub enum Yield {
Executed,
Idle,
}
Expand description
Result of yield_now()
or yield_local()
.
Variants
Executed
Work was found and executed.
Idle
No available work was found.
Trait Implementations
impl Copy for Yield
impl Eq for Yield
impl StructuralEq for Yield
impl StructuralPartialEq for Yield
Auto Trait Implementations
impl RefUnwindSafe for Yield
impl Send for Yield
impl Sync for Yield
impl Unpin for Yield
impl UnwindSafe for Yield
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more