pub trait PatchEntry: Send + Sync {
// Required methods
fn init(&mut self) -> Result<(), PatchError>;
fn teardown(&mut self);
}Expand description
Optional entry point for patches with initialization/teardown
Required Methods§
Sourcefn init(&mut self) -> Result<(), PatchError>
fn init(&mut self) -> Result<(), PatchError>
Called when the patch is loaded and validated but before activation