pub struct CancellationShield { /* private fields */ }Expand description
A workflow-local cleanup scope. Dropping it restores cancellation checks.
This does not renew or extend the Server’s original cleanup deadline.
Trait Implementations§
Source§impl Debug for CancellationShield
impl Debug for CancellationShield
Source§impl Drop for CancellationShield
impl Drop for CancellationShield
Auto Trait Implementations§
impl Forget for CancellationShield
impl Freeze for CancellationShield
impl Move for CancellationShield
impl RefUnwindSafe for CancellationShield
impl Send for CancellationShield
impl Sync for CancellationShield
impl Unpin for CancellationShield
impl UnsafeUnpin for CancellationShieldwhere
*const ArcInner<Mutex<WorkflowState>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<WorkflowState>>>: UnsafeUnpin,
impl UnwindSafe for CancellationShield
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