pub struct PostProcConfig {
pub cleanup_after_extract: bool,
pub output_dir: Option<PathBuf>,
pub articles_failed: usize,
pub content_articles_failed: usize,
pub skip_extract: bool,
pub password: Option<String>,
pub max_nested_archive_depth: u8,
}Expand description
Configuration for the post-processing pipeline.
Fields§
§cleanup_after_extract: boolRemove par2 and archive files after successful extraction.
output_dir: Option<PathBuf>Directory where extracted files should be placed. If None, extracts into the job directory itself.
articles_failed: usizeNumber of articles that failed during download.
When 0, par2 verification is skipped (files are known-good).
When > 0, par2 repair is run directly (which verifies + repairs
in a single pass), avoiding the redundant verify-then-repair double-scan.
content_articles_failed: usizeFailed articles belonging to source/content files. PAR2 volume failures do not make an otherwise intact archive unextractable.
skip_extract: boolWhen true, the extract stage is skipped because direct unpack already handled RAR extraction during the download phase.
password: Option<String>Optional archive password (from NZB metadata or indexer API).
max_nested_archive_depth: u8Maximum archive nesting depth processed automatically. Zero permits the outer archive only; the default handles five nested layers.
Trait Implementations§
Source§impl Clone for PostProcConfig
impl Clone for PostProcConfig
Source§fn clone(&self) -> PostProcConfig
fn clone(&self) -> PostProcConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PostProcConfig
impl Debug for PostProcConfig
Auto Trait Implementations§
impl Freeze for PostProcConfig
impl RefUnwindSafe for PostProcConfig
impl Send for PostProcConfig
impl Sync for PostProcConfig
impl Unpin for PostProcConfig
impl UnsafeUnpin for PostProcConfig
impl UnwindSafe for PostProcConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more