fn parse_domain(
origin: Option<&DomainName>,
dotted_string: &str,
) -> Result<DomainName, Error>
Expand description
Parse a domain name, appending the origin if it’s not absolute.
§Errors
If the string cannot be parsed.
fn parse_domain(
origin: Option<&DomainName>,
dotted_string: &str,
) -> Result<DomainName, Error>
Parse a domain name, appending the origin if it’s not absolute.
If the string cannot be parsed.