Enum parse_hosts::LineReadError
[−]
[src]
pub enum LineReadError { Read(Error), Parse(DataParseError), }
Error found when reading a line in /etc/hosts
.
Variants
Read(Error)
The line failed to read.
Parse(DataParseError)
The line failed to parse.
Trait Implementations
impl Debug for LineReadError
[src]
impl From<Error> for LineReadError
[src]
fn from(err: Error) -> LineReadError
Performs the conversion.
impl From<DataParseError> for LineReadError
[src]
fn from(err: DataParseError) -> LineReadError
Performs the conversion.
impl Error for LineReadError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more