pub struct ApplyConfig {
pub binary_path: PathBuf,
pub backup_path: PathBuf,
pub r2smt_version: String,
}Expand description
Inputs to apply_plan that are not part of the plan itself.
The caller is responsible for creating backup_path before
invoking the patcher — backups taken after writes have started
would already be corrupted.
Fields§
§binary_path: PathBufPath of the binary being patched (used to compute integrity hashes for the manifest).
backup_path: PathBufPath of the full-file backup created before patching.
r2smt_version: Stringr2SMT version string recorded in the manifest.
Trait Implementations§
Source§impl Clone for ApplyConfig
impl Clone for ApplyConfig
Source§fn clone(&self) -> ApplyConfig
fn clone(&self) -> ApplyConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ApplyConfig
impl RefUnwindSafe for ApplyConfig
impl Send for ApplyConfig
impl Sync for ApplyConfig
impl Unpin for ApplyConfig
impl UnsafeUnpin for ApplyConfig
impl UnwindSafe for ApplyConfig
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