pub enum Owed {
Nothing,
Something,
}Expand description
Whether the binding was holding work when it asked.
A loop with an empty queue that asks and is told nothing is waiting, which is what a loop does while an agent works a long step or a person thinks. A loop holding work it was handed and told nothing is the one that is going round without moving. The spec’s “rounds without progress” is the second, and only the second.
Variants§
Nothing
Nothing outstanding: every delivery reached an end.
Something
At least one delivery offered, handed over or acknowledged and not yet closed.
Trait Implementations§
impl Copy for Owed
Source§impl<'de> Deserialize<'de> for Owed
impl<'de> Deserialize<'de> for Owed
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Owed
impl StructuralPartialEq for Owed
Auto Trait Implementations§
impl Freeze for Owed
impl RefUnwindSafe for Owed
impl Send for Owed
impl Sync for Owed
impl Unpin for Owed
impl UnsafeUnpin for Owed
impl UnwindSafe for Owed
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