Enum rs_release::OsReleaseError
[−]
[src]
pub enum OsReleaseError { Io, NoFile, ParseError, }
Represents possible errors when parsing os-release file/string
Variants
Io
Input-Output error (failed to read file)
NoFile
Failed to find os-release file in standard paths
ParseError
File is malformed
Trait Implementations
impl Debug for OsReleaseError
[src]
impl PartialEq for OsReleaseError
[src]
fn eq(&self, __arg_0: &OsReleaseError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl From<Error> for OsReleaseError
[src]
fn from(_: Error) -> OsReleaseError
Performs the conversion.