Enum Yield

pub enum Yield

Result of [yield_now()] or [yield_local()].

Variants

Executed

Work was found and executed.

Idle

No available work was found.

Trait Implementations

impl Clone for Yield

fn clone(&self) -> Self

impl Copy for Yield

impl Debug for Yield

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for Yield

impl PartialEq for Yield

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for Yield

Auto Trait Implementations

impl Freeze for Yield

impl RefUnwindSafe for Yield

impl Send for Yield

impl Sync for Yield

impl Unpin for Yield

impl UnsafeUnpin for Yield

impl UnwindSafe for Yield

Blanket Implementations

impl<T> Any for Yield where T: 'static + ?Sized,

impl<T> Borrow<T> for Yield where T: ?Sized,

impl<T> BorrowMut<T> for Yield where T: ?Sized,

impl<T> CloneToUninit for Yield where T: Clone,

impl<T> From<T> for Yield

impl<T> Pointable for Yield

impl<T> ToOwned for Yield where T: Clone,

impl<T, U> Into<U> for Yield where U: From<T>,

impl<T, U> TryFrom<U> for Yield where U: Into<T>,

impl<T, U> TryInto<U> for Yield where U: TryFrom<T>,