pub trait ApplyExecutor: Send + Sync {
// Required method
fn apply_component(
&self,
component_id: &str,
proposed_version: &str,
) -> Result<(), String>;
}Expand description
Trait for executing a single component update.
Implementations can invoke shell scripts, Rust-native installers, or be mocked for testing.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".