pub struct ProcessCancellation { /* private fields */ }Expand description
Thread-safe cooperative process cancellation signal.
Implementations§
Source§impl ProcessCancellation
impl ProcessCancellation
Sourcepub fn is_cancelled(&self) -> bool
pub fn is_cancelled(&self) -> bool
Whether cancellation has been requested.
Trait Implementations§
Source§impl Clone for ProcessCancellation
impl Clone for ProcessCancellation
Source§impl Debug for ProcessCancellation
impl Debug for ProcessCancellation
Auto Trait Implementations§
impl Freeze for ProcessCancellation
impl RefUnwindSafe for ProcessCancellation
impl Send for ProcessCancellation
impl Sync for ProcessCancellation
impl Unpin for ProcessCancellation
impl UnsafeUnpin for ProcessCancellation
impl UnwindSafe for ProcessCancellation
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