# A lib of Linux iw command ## Example ```rust use libiw_async::*; let iw = IW::new().await.unwrap(); let mut list = iw.interface_list().await.expect("no nic"); for card in &list { println!("ifname: {}", card); } let interface = list.remove(0); println!("scan ..."); let mut ap_list = iw.scan(&interface).await.unwrap(); if let Some(ssid) = args.ssid { ap_list.retain(|one| one.ssid.contains(&ssid)); } for one in ap_list { println!("{}", one); } ```