pub enum SigType {
Int,
Term,
}Expand description
Signal type that caused the signal handler to run.
Variants§
Int
SIGINT on unixy systems. Ctrl+C on Windows.
Term
SIGTERM on unixy systems. Ctrl+Break or console close on Windows.
Auto Trait Implementations§
impl Freeze for SigType
impl RefUnwindSafe for SigType
impl Send for SigType
impl Sync for SigType
impl Unpin for SigType
impl UnwindSafe for SigType
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