pub struct SignalManager { /* private fields */ }Expand description
Used if you need signals in your own program using run_one. Signal manager for posix. Used to get SIGINT (Exit), SIGTERM (Exit), SIGWINCH (Resize)
Implementations§
Source§impl SignalManager
impl SignalManager
Trait Implementations§
Source§impl Default for SignalManager
impl Default for SignalManager
Auto Trait Implementations§
impl Freeze for SignalManager
impl !RefUnwindSafe for SignalManager
impl Send for SignalManager
impl !Sync for SignalManager
impl Unpin for SignalManager
impl !UnwindSafe for SignalManager
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