Skip to main content

dial

Function dial 

Source
pub fn dial(endpoint: &str) -> ClientResult<Box<dyn Dialer>>
Expand description

Resolve an endpoint string to a boxed Dialer for the linked-in transport.

Errors with ClientError::UnsupportedEndpoint if the string is malformed, names an unknown scheme, or names a scheme whose transport isn’t compiled into this binary.