Crate wpactrl[−][src]
Expand description
A pure-Rust lowlevel library for controlling wpasupplicant remotely
Note that in order to connect to wpasupplicant, you may need elevated permissions (eg run as root)
Example
let mut wpa = wpactrl::WpaCtrl::builder().open().unwrap();
println!("{}", wpa.request("LIST_NETWORKS").unwrap());The library currently only supports UNIX sockets, but additional connection methods (eg UDP or pipes) may be added in the future.
Structs
A connection to wpasupplicant / hostap
A connection to wpasupplicant / hostap that receives status messages
Builder object used to construct a WpaCtrl session
Enums
Error type used for some library functions
Type Definitions
Result type used for the library
