Enum parse_hosts::LineReadError [] [src]

pub enum LineReadError {
    Read(Error),
    Parse(DataParseError),
}

Error found when reading a line in /etc/hosts.

Variants

The line failed to read.

The line failed to parse.

Trait Implementations

impl Debug for LineReadError
[src]

Formats the value using the given formatter.

impl From<Error> for LineReadError
[src]

Performs the conversion.

impl From<DataParseError> for LineReadError
[src]

Performs the conversion.

impl Error for LineReadError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for LineReadError
[src]

Formats the value using the given formatter.