Enum sys_info::Error [−][src]
pub enum Error {
UnsupportedSystem,
ExecFailed(Error),
IO(Error),
SystemTime(SystemTimeError),
General(String),
Unknown,
}
Expand description
Error types
Variants
ExecFailed(Error)
Tuple Fields of ExecFailed
0: Error
IO(Error)
Tuple Fields of IO
0: Error
SystemTime(SystemTimeError)
Tuple Fields of SystemTime
General(String)
Tuple Fields of General
0: String
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.