Skip to main content

VerifyExecutor

Trait VerifyExecutor 

Source
pub trait VerifyExecutor: Send + Sync {
    // Required method
    fn verify_component(
        &self,
        component_id: &str,
        expected_version: &str,
    ) -> VerificationResult;
}
Expand description

Trait for verifying a single component after apply.

Implementations can check binary existence, version matches, import tests, etc.

Required Methods§

Source

fn verify_component( &self, component_id: &str, expected_version: &str, ) -> VerificationResult

Verify a single component.

Returns a VerificationResult with individual checks.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§