pub fn set_network_status(status: NetworkStatus) -> Result<()>Expand description
Tells the library whether it may use the network.
While the status is NetworkStatus::Offline, the library starts no
network requests. The requests that wait start when the status returns
to NetworkStatus::Online. The status starts as online and applies to
every runtime in the process.
See mln_network_set_status in the
C API reference.