pub trait SmokeTester {
// Required method
fn test(&self, binary_path: &Path) -> Result<(), UpgradeError>;
}Expand description
Trait for smoke-testing a binary. Implementations run the new binary and check that it starts correctly.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".