pub fn scan_until_interrupt(
output: &str,
interface: &str
) -> Result<(), Box<dyn Error>>
Expand description
Continuously scans the specified interface until an interrupt is received.
output
- The file path to save the scan results as a CSV file.
interface
- The network interface to scan.
A Result<(), Box<dyn Error>>
indicating success or failure.