Enum rs_release::OsReleaseError [] [src]

pub enum OsReleaseError {
    Io,
    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 From<Error> for OsReleaseError
[src]

Performs the conversion.