/// Returns our role wrt the peer connection
Returns our role wrt the peer connection
Returns our role wrt the peer connection
fn connection_role(my_id: &NodeId, peer: &NodeId) -> ConnectionRole {
        assert!(*my_id != *peer);
        if *my_id > *peer {
            ConnectionRole::Server
        } else {
            ConnectionRole::Client
        }
    }
fn connection_role ( my_id : & NodeId , peer : & NodeId ) -> ConnectionRole { assert ! ( my_id peer ) ; if * my_id > * peer { ConnectionRole :: Server } else { ConnectionRole :: Client } }
Returns our role wrt the peer connection
Returns our role wrt the peer connection
my_id
&NodeId
peer
&NodeId