Enum probe_c_api::CProbeError
[−]
[src]
pub enum CProbeError { IoError(Error), CompileError(Output), RunError(Output, Output), OtherError(String), }
Error type used when a C API probing program fails to compile or run.
Variants
IoError(Error)
An I/O error prevented the operation from continuing.
CompileError(Output)
Compilation failed.
RunError(Output, Output)
The probing program failed when run. The compilation output is included to assist debugging.
OtherError(String)
All other errors, e.g. corrupt output from a probe program.
Trait Implementations
impl Debug for CProbeError
[src]
impl Display for CProbeError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for CProbeError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more