pub struct InterruptionHandlerGuard { /* private fields */ }Expand description
Keeps an interruption handler installed; returned by
set_interruption_handler.
Like ProgressHandlerGuard, guards can be dropped in any order, and
each is bound to the creating thread.
Trait Implementations§
Source§impl Debug for InterruptionHandlerGuard
impl Debug for InterruptionHandlerGuard
Source§impl Drop for InterruptionHandlerGuard
impl Drop for InterruptionHandlerGuard
Auto Trait Implementations§
impl !Send for InterruptionHandlerGuard
impl !Sync for InterruptionHandlerGuard
impl Freeze for InterruptionHandlerGuard
impl RefUnwindSafe for InterruptionHandlerGuard
impl Unpin for InterruptionHandlerGuard
impl UnsafeUnpin for InterruptionHandlerGuard
impl UnwindSafe for InterruptionHandlerGuard
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