pub struct ApplyOptions {
pub on_progress: Option<Box<dyn Fn(ApplyProgress) + Send + Sync>>,
pub skip_checksum: bool,
}Expand description
Options for controlling the apply phase.
Fields§
§on_progress: Option<Box<dyn Fn(ApplyProgress) + Send + Sync>>Callback invoked with progress updates during the apply phase.
skip_checksum: boolWhether to skip checksum verification.
Trait Implementations§
Source§impl Default for ApplyOptions
impl Default for ApplyOptions
Source§fn default() -> ApplyOptions
fn default() -> ApplyOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApplyOptions
impl !RefUnwindSafe for ApplyOptions
impl Send for ApplyOptions
impl Sync for ApplyOptions
impl Unpin for ApplyOptions
impl UnsafeUnpin for ApplyOptions
impl !UnwindSafe for ApplyOptions
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