pub fn auto_proxy_discovery(network: Network, enable: bool) -> Result<ExitStatus> {
    let mut cmd = cmd();
    cmd.args(&["-setproxyautodiscovery", network.as_str()]);
    if enable {
        cmd.arg(ON);
    } else {
        cmd.arg(OFF);
    }
    cmd.status()
}
/// macOS Proxies: Atuo Proxy Discovery
macOS Proxies: Atuo Proxy Discovery
macOS Proxies : Atuo Proxy Discovery
pub fn auto_proxy_discovery(network: Network, enable: bool) -> Result<ExitStatus> {
    let mut cmd = cmd();
    cmd.args(&["-setproxyautodiscovery", network.as_str()]);
    if enable {
        cmd.arg(ON);
    } else {
        cmd.arg(OFF);
    }
    cmd.status()
}
pub fn auto_proxy_discovery ( network : Network , enable : bool ) -> Result < ExitStatus > { let mut cmd = cmd ( ) ; cmd . args ( & [ " " , network . as_str ( ) ] ) ; if enable { cmd . arg ( ON ) ; } else { cmd . arg ( OFF ) ; } cmd . status ( ) }
macOS Proxies: Atuo Proxy Discovery
macOS Proxies : Atuo Proxy Discovery
network
Network
enable
bool
network
Network
enable
bool