pub fn parse(input: &str) -> Result<RemoteUrl, ParseError>Expand description
Parse a remote URL.
ยงErrors
Returns ParseError if the input is empty, uses an unsupported
scheme, contains a malformed URL, is missing required components
(host, bucket, container, account), contains invalid component names,
uses an amazonaws.com hostname that does not match a known S3
endpoint pattern, or uses cleartext http:// against a non-loopback
host without the ENV_ALLOW_HTTP environment override.