to_custom_addr

Function to_custom_addr 

Source
pub fn to_custom_addr(endpoint: EndpointId) -> CustomAddr
Available on (crate features test-utils) and crate feature unstable-custom-transports only.
Expand description

Converts an endpoint ID to a custom address for this test transport.