pub fn peer_primary_endpoint(
relay_state: &Value,
peer_handle: &str,
) -> Option<Endpoint>Expand description
The single best (highest-priority) endpoint to reach peer_handle, or
None if the peer has no pinned endpoints. RFC-006 Part B: the canonical
replacement for reading the old flat relay_url/slot_id/slot_token peer
fields — every peer-pin reader resolves through this (or
peer_endpoints_in_priority_order when it needs failover).