pub struct DoctorCheck {
pub name: &'static str,
pub run: fn() -> DoctorResult,
}Expand description
One named environment check (native libraries, tool availability, …) surfaced
through proef doctor (ADR-0002 capability hook).
Fields§
§name: &'static strShort human-readable check name.
run: fn() -> DoctorResultThe check itself; must be cheap and side-effect free.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DoctorCheck
impl RefUnwindSafe for DoctorCheck
impl Send for DoctorCheck
impl Sync for DoctorCheck
impl Unpin for DoctorCheck
impl UnsafeUnpin for DoctorCheck
impl UnwindSafe for DoctorCheck
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