pub struct CtrlcGuard;Expand description
Restores a no-op SIGINT handler when dropped.
Trait Implementations§
Source§impl Drop for CtrlcGuard
impl Drop for CtrlcGuard
Auto Trait Implementations§
impl Freeze for CtrlcGuard
impl RefUnwindSafe for CtrlcGuard
impl Send for CtrlcGuard
impl Sync for CtrlcGuard
impl Unpin for CtrlcGuard
impl UnsafeUnpin for CtrlcGuard
impl UnwindSafe for CtrlcGuard
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