pub enum BlockReason {
ToolSuspend,
MilestoneAwait,
}Expand description
What the loop is blocked waiting for.
Variants§
ToolSuspend
Awaiting a tool’s continuation (tool suspend pattern).
MilestoneAwait
Awaiting milestone evaluation result.
Trait Implementations§
Source§impl Clone for BlockReason
impl Clone for BlockReason
Source§fn clone(&self) -> BlockReason
fn clone(&self) -> BlockReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BlockReason
Source§impl Debug for BlockReason
impl Debug for BlockReason
impl Eq for BlockReason
Source§impl From<BlockReason> for WaitReason
impl From<BlockReason> for WaitReason
Source§fn from(reason: BlockReason) -> Self
fn from(reason: BlockReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BlockReason
impl PartialEq for BlockReason
Source§fn eq(&self, other: &BlockReason) -> bool
fn eq(&self, other: &BlockReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BlockReason
Auto Trait Implementations§
impl Freeze for BlockReason
impl RefUnwindSafe for BlockReason
impl Send for BlockReason
impl Sync for BlockReason
impl Unpin for BlockReason
impl UnsafeUnpin for BlockReason
impl UnwindSafe for BlockReason
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