async fn handle_scan( drk: &DrkPtr, subscription_active: &bool, parts: &[&str], output: &mut Vec<String>, print: &bool, )
Auxiliary function to define the scan command handling.