default_transport

Function default_transport 

Source
pub fn default_transport() -> ChannelTransport
Expand description

Temporary: used to support the legacy allocator-based V1 bootstrap. Should be removed once we fully migrate to simple bootstrap.

Get the default transport to use across the application. Panic if BindSpec::Addr is set as default transport. Since we expect BindSpec::Addr to be used only with simple bootstrap, we should not see this panic in production.