pub struct PluginHealthChecker { /* private fields */ }Expand description
Plugin health checker
Implementations§
Source§impl PluginHealthChecker
impl PluginHealthChecker
Sourcepub fn check_binary_exists(&self, binary_path: &Path) -> HealthCheckResult
pub fn check_binary_exists(&self, binary_path: &Path) -> HealthCheckResult
Check if binary file exists and is readable
Sourcepub fn check_binary_validity(&self, binary_path: &Path) -> HealthCheckResult
pub fn check_binary_validity(&self, binary_path: &Path) -> HealthCheckResult
Check if binary is readable and has expected size
Sourcepub fn check_platform_compatibility(
&self,
binary_path: &Path,
expected_platform: Platform,
) -> HealthCheckResult
pub fn check_platform_compatibility( &self, binary_path: &Path, expected_platform: Platform, ) -> HealthCheckResult
Verify platform compatibility
Sourcepub fn check_required_symbols(&self) -> HealthCheckResult
pub fn check_required_symbols(&self) -> HealthCheckResult
Check if required symbols are documented (simulated check)
Sourcepub fn check_performance_baseline(
&self,
baseline: &PerformanceBaseline,
) -> HealthCheckResult
pub fn check_performance_baseline( &self, baseline: &PerformanceBaseline, ) -> HealthCheckResult
Check performance baseline
Sourcepub fn calculate_health_score(checks: &[HealthCheckResult]) -> HealthScore
pub fn calculate_health_score(checks: &[HealthCheckResult]) -> HealthScore
Calculate overall health score from check results
Sourcepub fn generate_recommendations(
checks: &[HealthCheckResult],
score: HealthScore,
) -> Vec<String>
pub fn generate_recommendations( checks: &[HealthCheckResult], score: HealthScore, ) -> Vec<String>
Generate health recommendations based on check results
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PluginHealthChecker
impl RefUnwindSafe for PluginHealthChecker
impl Send for PluginHealthChecker
impl Sync for PluginHealthChecker
impl Unpin for PluginHealthChecker
impl UnsafeUnpin for PluginHealthChecker
impl UnwindSafe for PluginHealthChecker
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