Skip to main content

reach_to_transport_config

Function reach_to_transport_config 

Source
pub fn reach_to_transport_config(reach: &Destination) -> Option<TransportConfig>
Expand description

Convert a wire-published crate::stream_info::Destination into the local crate::transport::TransportConfig crate::dial::dial_stream dials (#274).

Only the network-routable transports map; same-host endpoints are never carried in reach (co-located clients use the UDS fast path).