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
Auto Trait Implementations§
impl Freeze for CancellationShield
impl RefUnwindSafe for CancellationShield
impl Send for CancellationShield
impl Sync for CancellationShield
impl Unpin for CancellationShield
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