pub fn dial_transport_to_wire(dial: &TransportConfig) -> Option<TransportConfig>Expand description
The single dial→wire reach codec (#320): map a local dialable
crate::transport::TransportConfig to a wire-publishable
crate::stream_info::TransportConfig union arm.
Returns None for same-host endpoints (Inproc/Ipc/SystemdFd) — these
are NEVER advertised on the wire (a remote caller could not dial them; a
co-located caller resolves them from local config). So a co-located-only
service yields an empty published reach list. The inverse of
wire_transport_to_dial; both live here as the one reach codec.