pub enum ExtError {
BinaryNotFound {
program: &'static str,
env_var: &'static str,
install_hint: &'static str,
conda_pkg: &'static str,
},
SubprocessFailed {
program: &'static str,
status: String,
stderr_tail: String,
},
MissingOutput {
program: &'static str,
path: PathBuf,
},
Parse {
what: &'static str,
message: String,
},
Io {
context: String,
source: Error,
},
ConfGen(String),
}Variants§
Implementations§
Trait Implementations§
Source§impl Error for ExtError
impl Error for ExtError
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 !RefUnwindSafe for ExtError
impl !UnwindSafe for ExtError
impl Freeze for ExtError
impl Send for ExtError
impl Sync for ExtError
impl Unpin for ExtError
impl UnsafeUnpin for ExtError
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