dns_types::hosts::deserialise

Function parse_line

Source
fn parse_line(
    line: &str,
) -> Result<Option<(IpAddr, HashSet<DomainName>)>, Error>
Expand description

Parse a single line.

ยงErrors

If the string cannot be parsed.