Expand description
§watchexec-signals
Watchexec’s signal type.
- API documentation.
- Licensed under Apache 2.0 or MIT.
- Status: maintained.
use std::str::FromStr;
use watchexec_signals::Signal;
fn main() {
assert_eq!(Signal::from_str("SIGINT").unwrap(), Signal::Interrupt);
}
§Features
serde
: enables serde support.fromstr
: enablesFromStr
support (default).miette
: enables miette (rich diagnostics) support (default).
Structs§
- Error when parsing a signal from string.
Enums§
- A notification (signals or Windows control events) sent to a process.