[][src]Enum libmedium::ParsingError

pub enum ParsingError {
    InsufficientRights {
        path: PathBuf,
    },
    InvalidPath {
        path: PathBuf,
    },
    PathDoesNotExist {
        path: PathBuf,
    },
    NameFile {
        source: Error,
    },
    SensorCreationError {
        sensor_type: &'static str,
        index: u16,
    },
}

Variants

InsufficientRights

You have insufficient rights. Try using the read only version of the parse_hwmons* functions.

Fields of InsufficientRights

path: PathBuf
InvalidPath

The path you are trying to parse is not valid.

Fields of InvalidPath

path: PathBuf
PathDoesNotExist

The path you are trying to parse does not exist.

Fields of PathDoesNotExist

path: PathBuf
NameFile

Error which is returned if reading the name file of an hwmon fails.

Fields of NameFile

source: Error
SensorCreationError

Error when creating a new sensor.

Fields of SensorCreationError

sensor_type: &'static strindex: u16

Trait Implementations

impl Display for ParsingError[src]

impl Debug for ParsingError[src]

impl Error for ParsingError where
    Self: Debug + Display
[src]

impl ErrorCompat for ParsingError[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]