#[non_exhaustive]pub enum CancelFlowWait {
NoWait,
WaitTimeout(Duration),
WaitIndefinite,
}Expand description
Caller wait posture for cancel_flow.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoWait
Return after the flow-state flip; member cancellations dispatch asynchronously.
WaitTimeout(Duration)
Block until member cancellations complete, up to timeout.
WaitIndefinite
Block until member cancellations complete, no deadline.
Trait Implementations§
Source§impl Clone for CancelFlowWait
impl Clone for CancelFlowWait
Source§fn clone(&self) -> CancelFlowWait
fn clone(&self) -> CancelFlowWait
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CancelFlowWait
impl Debug for CancelFlowWait
Source§impl Hash for CancelFlowWait
impl Hash for CancelFlowWait
Source§impl PartialEq for CancelFlowWait
impl PartialEq for CancelFlowWait
impl Copy for CancelFlowWait
impl Eq for CancelFlowWait
impl StructuralPartialEq for CancelFlowWait
Auto Trait Implementations§
impl Freeze for CancelFlowWait
impl RefUnwindSafe for CancelFlowWait
impl Send for CancelFlowWait
impl Sync for CancelFlowWait
impl Unpin for CancelFlowWait
impl UnsafeUnpin for CancelFlowWait
impl UnwindSafe for CancelFlowWait
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