pub fn network_state() -> Result<OpaqueNetworkState, ()>
Returns information about the local node’s network state.