1 2 3 4 5 6 7 8 9 10 11
use nfd2::Response; fn main() { let result = nfd2::dialog_multiple().open().expect("oh no"); match result { Response::OkayMultiple(files) => println!("File path = {:?}", files), Response::Cancel => println!("User canceled"), _ => (), } }