pub struct ProcessorBuilder { /* private fields */ }Expand description
Convenience builder for creating configured processors
Implementations§
Source§impl ProcessorBuilder
impl ProcessorBuilder
Sourcepub const fn mode(self, mode: ProcessingMode) -> Self
pub const fn mode(self, mode: ProcessingMode) -> Self
Set the processing mode
Sourcepub const fn progress_frequency(self, frequency: usize) -> Self
pub const fn progress_frequency(self, frequency: usize) -> Self
Set progress update frequency
Sourcepub const fn show_file_completion(self, show: bool) -> Self
pub const fn show_file_completion(self, show: bool) -> Self
Set whether to show file completion messages
Sourcepub fn progress_label<S: Into<String>>(self, label: S) -> Self
pub fn progress_label<S: Into<String>>(self, label: S) -> Self
Set custom progress label
Sourcepub const fn strict_parsing(self, strict: bool) -> Self
pub const fn strict_parsing(self, strict: bool) -> Self
Enable strict JSON parsing
Sourcepub fn build(self) -> FileProcessor
pub fn build(self) -> FileProcessor
Build the file processor
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcessorBuilder
impl RefUnwindSafe for ProcessorBuilder
impl Send for ProcessorBuilder
impl Sync for ProcessorBuilder
impl Unpin for ProcessorBuilder
impl UnwindSafe for ProcessorBuilder
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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 more