pub struct HealthCheckResult {
pub project_valid: bool,
pub torn_write_repairs: Vec<(PathBuf, u64)>,
pub db_rebuilt: bool,
pub caches_cleaned: usize,
pub warnings: Vec<String>,
}Expand description
Result of a full project health check.
Fields§
§project_valid: boolWhether the project directory exists and looks valid.
torn_write_repairs: Vec<(PathBuf, u64)>Torn-write recovery results (one per shard).
db_rebuilt: boolWhether the DB was rebuilt.
caches_cleaned: usizeNumber of cache files cleaned.
warnings: Vec<String>Errors encountered (non-fatal).
Trait Implementations§
Source§impl Clone for HealthCheckResult
impl Clone for HealthCheckResult
Source§fn clone(&self) -> HealthCheckResult
fn clone(&self) -> HealthCheckResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HealthCheckResult
impl RefUnwindSafe for HealthCheckResult
impl Send for HealthCheckResult
impl Sync for HealthCheckResult
impl Unpin for HealthCheckResult
impl UnsafeUnpin for HealthCheckResult
impl UnwindSafe for HealthCheckResult
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