pub struct MissingTools {
pub verb: &'static str,
pub missing: Vec<(&'static Tool, String)>,
}Expand description
Every tool a verb needs but the machine lacks, with install links — batched so one refusal names every gap instead of dribbling them out.
Fields§
§verb: &'static strThe verb that refused.
missing: Vec<(&'static Tool, String)>Each missing tool with the probe failure that condemned it.
Trait Implementations§
Source§impl Debug for MissingTools
impl Debug for MissingTools
Source§impl Display for MissingTools
impl Display for MissingTools
Source§impl Error for MissingTools
impl Error for MissingTools
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()
Source§impl From<MissingTools> for CliError
impl From<MissingTools> for CliError
Source§fn from(source: MissingTools) -> Self
fn from(source: MissingTools) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MissingTools
impl RefUnwindSafe for MissingTools
impl Send for MissingTools
impl Sync for MissingTools
impl Unpin for MissingTools
impl UnsafeUnpin for MissingTools
impl UnwindSafe for MissingTools
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