pub async fn connect_to_capability(
atlas: &mut AtlasClient,
consumer_id: &str,
contract_id: &str,
) -> Result<(String, String, Channel)>Expand description
gRPC-only convenience: pick the first Capability matching contract_id
over gRPC, call ConnectCapability to register the edge, dial the
returned host:port, and hand back a tonic Channel + the channel_id
(so the caller can DisconnectCapability on shutdown).
Returns (channel_id, provider_id, Channel).