Function sp_io::offchain::network_state [−][src]
pub fn network_state() -> Result<OpaqueNetworkState, ()>
Returns information about the local node’s network state.
pub fn network_state() -> Result<OpaqueNetworkState, ()>
Returns information about the local node’s network state.