dns_types::zones::deserialise

Function parse_origin

Source
fn parse_origin(
    origin: Option<&DomainName>,
    tokens: Vec<(String, Bytes)>,
) -> Result<Entry, Error>
Expand description
$ORIGIN <domain-name>

ยงErrors

If the string cannot be parsed.