pub enum SystemProbeError {
CommandFailed(String),
VersionParseFailed {
command: String,
reason: String,
},
GpuDetectionFailed(String),
MemoryQueryFailed(String),
}Expand description
Errors that can occur during system probing.
Variants§
CommandFailed(String)
Failed to execute a command for dependency checking.
VersionParseFailed
Failed to parse version output.
GpuDetectionFailed(String)
GPU detection failed.
MemoryQueryFailed(String)
System memory query failed.
Trait Implementations§
Source§impl Debug for SystemProbeError
impl Debug for SystemProbeError
Source§impl Display for SystemProbeError
impl Display for SystemProbeError
Source§impl Error for SystemProbeError
impl Error for SystemProbeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SystemProbeError
impl RefUnwindSafe for SystemProbeError
impl Send for SystemProbeError
impl Sync for SystemProbeError
impl Unpin for SystemProbeError
impl UnwindSafe for SystemProbeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more