pub struct ReprocessOptions {
pub max_retries: u32,
pub page_indices: Vec<usize>,
pub force: bool,
pub keep_intermediates: bool,
}Expand description
Reprocess options
Fields§
§max_retries: u32Maximum retry attempts per page
page_indices: Vec<usize>Retry only specific pages (empty = all failed)
force: boolForce reprocess even if cached
keep_intermediates: boolPreserve intermediate files
Implementations§
Source§impl ReprocessOptions
impl ReprocessOptions
Sourcepub fn all_failed() -> Self
pub fn all_failed() -> Self
Create options to reprocess all failed pages
Sourcepub fn specific_pages(pages: Vec<usize>) -> Self
pub fn specific_pages(pages: Vec<usize>) -> Self
Create options to reprocess specific pages
Sourcepub fn with_max_retries(self, max_retries: u32) -> Self
pub fn with_max_retries(self, max_retries: u32) -> Self
Builder: set max retries
Sourcepub fn with_force(self, force: bool) -> Self
pub fn with_force(self, force: bool) -> Self
Builder: set force flag
Sourcepub fn with_keep_intermediates(self, keep: bool) -> Self
pub fn with_keep_intermediates(self, keep: bool) -> Self
Builder: set keep intermediates flag
Trait Implementations§
Source§impl Clone for ReprocessOptions
impl Clone for ReprocessOptions
Source§fn clone(&self) -> ReprocessOptions
fn clone(&self) -> ReprocessOptions
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 ReprocessOptions
impl Debug for ReprocessOptions
Auto Trait Implementations§
impl Freeze for ReprocessOptions
impl RefUnwindSafe for ReprocessOptions
impl Send for ReprocessOptions
impl Sync for ReprocessOptions
impl Unpin for ReprocessOptions
impl UnwindSafe for ReprocessOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().