glory_cli/signal/
mod.rs

1mod interrupt;
2mod product;
3mod reload;
4
5pub use interrupt::Interrupt;
6pub use product::{Outcome, Product, ProductSet, ServerRestart};
7pub use reload::{ReloadSignal, ReloadType};
8
9#[macro_export]
10macro_rules! location {
11    () => {
12        $crate::command::Location {
13            file: file!().to_string(),
14            line: line!(),
15            column: column!(),
16        }
17    };
18}
19
20pub struct Location {
21    pub file: &'static str,
22    pub line: u32,
23    pub column: u32,
24    pub modules: &'static str,
25}