pub enum Yield {
Executed,
Idle,
}
Expand description
Result of yield_now()
or yield_local()
.
Variants§
Trait Implementations§
source§impl PartialEq<Yield> for Yield
impl PartialEq<Yield> for Yield
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§
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