1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! Signal monitor #[cfg(unix)] #[path = "unix.rs"] mod imp; #[cfg(windows)] #[path = "windows.rs"] mod imp; #[cfg(not(any(windows, unix)))] #[path = "other.rs"] mod imp; pub use self::imp::create_signal_monitor;