Enum rs_release::OsReleaseError [] [src]

pub enum OsReleaseError {
    Io(Error),
    NoFile,
    ParseError,
}

Represents possible errors when parsing os-release file/string

Variants

Input-Output error (failed to read file)

Failed to find os-release file in standard paths

File is malformed

Trait Implementations

impl Debug for OsReleaseError
[src]

Formats the value using the given formatter.

impl PartialEq for OsReleaseError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for OsReleaseError
[src]

Formats the value using the given formatter. Read more

impl Error for OsReleaseError
[src]

A short description of the error. Read more

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

impl From<Error> for OsReleaseError
[src]

Performs the conversion.