pub struct SigintForwarder { /* private fields */ }Expand description
RAII guard installing the SIGINT-forwarding handler for the duration of one ask subprocess, restoring the previous disposition (and clearing the pgid) on drop. The fno ask client is one-shot, so only one ask child is ever in flight per process.
Implementations§
Trait Implementations§
Source§impl Drop for SigintForwarder
impl Drop for SigintForwarder
Auto Trait Implementations§
impl !Send for SigintForwarder
impl Freeze for SigintForwarder
impl RefUnwindSafe for SigintForwarder
impl Sync for SigintForwarder
impl Unpin for SigintForwarder
impl UnsafeUnpin for SigintForwarder
impl UnwindSafe for SigintForwarder
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