Skip to main content

parse_endpoint

Function parse_endpoint 

Source
pub fn parse_endpoint(url: &str) -> Result<Endpoint, ParseError>
Expand description

Parse a connection string into a typed Endpoint.

See the module docstring for the contract. Returns the first matching endpoint shape; never falls through silently.