pub struct ExtractionOptions {
pub atomic: bool,
}Expand description
Options controlling extraction behavior (non-security).
Separate from SecurityConfig to keep security settings focused.
These options control operational behavior like atomicity.
Fields§
§atomic: boolExtract atomically: use a temp dir in the same parent as the output directory, rename on success, and delete on failure.
When enabled, extraction is all-or-nothing: if extraction fails, the output directory will not be created. This prevents partial extraction artifacts from remaining on disk.
Note: cleanup is best-effort if the process is terminated via SIGKILL.
Trait Implementations§
Source§impl Clone for ExtractionOptions
impl Clone for ExtractionOptions
Source§fn clone(&self) -> ExtractionOptions
fn clone(&self) -> ExtractionOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtractionOptions
impl Debug for ExtractionOptions
Source§impl Default for ExtractionOptions
impl Default for ExtractionOptions
Source§fn default() -> ExtractionOptions
fn default() -> ExtractionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExtractionOptions
impl RefUnwindSafe for ExtractionOptions
impl Send for ExtractionOptions
impl Sync for ExtractionOptions
impl Unpin for ExtractionOptions
impl UnsafeUnpin for ExtractionOptions
impl UnwindSafe for ExtractionOptions
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