is_network_connection_finalized

Function is_network_connection_finalized 

Source
fn is_network_connection_finalized(
    conn_state: &P2pNetworkConnectionState,
) -> Option<&PeerId>
Expand description

Returns connection peer_id iff the connection is finalized, i.e. multiplexing protocol is negotiated.