[−][src]Function i3status_rs::blocks::net::get_iwctl_ssid   
fn get_iwctl_ssid(dev: &NetworkDevice) -> Result<Option<String>, Error>
Attempt to get the SSID the given device is connected to from iwctl.
Returns Err if
- iwctl is not a valid command
- failed to spawn a iwctl command
- iwctl failed to produce a valid UTF-8 SSID
Returns Ok(None) if iwctl failed to produce a SSID.