#[non_exhaustive]pub enum ProbeError {
Unrunnable {
command: String,
source: SandboxError,
},
NoVersion {
command: String,
detail: String,
},
}Expand description
The tool could not be identified, so no checker was built.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unrunnable
The version command could not be run.
NoVersion
The version command ran and failed, or printed nothing.
Trait Implementations§
Source§impl Clone for ProbeError
impl Clone for ProbeError
Source§impl Debug for ProbeError
impl Debug for ProbeError
Source§impl Display for ProbeError
impl Display for ProbeError
impl Eq for ProbeError
Source§impl Error for ProbeError
impl Error for ProbeError
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()
Source§impl PartialEq for ProbeError
impl PartialEq for ProbeError
impl StructuralPartialEq for ProbeError
Auto Trait Implementations§
impl Freeze for ProbeError
impl RefUnwindSafe for ProbeError
impl Send for ProbeError
impl Sync for ProbeError
impl Unpin for ProbeError
impl UnsafeUnpin for ProbeError
impl UnwindSafe for ProbeError
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