pub struct AppConfig { /* private fields */ }Expand description
Application configuration
Immutable configuration structure holding all bootstrap-phase settings.
Implementations§
Source§impl AppConfig
impl AppConfig
Sourcepub fn builder() -> AppConfigBuilder
pub fn builder() -> AppConfigBuilder
Create a new configuration builder
Sourcepub fn input_path(&self) -> Option<&PathBuf>
pub fn input_path(&self) -> Option<&PathBuf>
Get input path
Sourcepub fn output_path(&self) -> Option<&PathBuf>
pub fn output_path(&self) -> Option<&PathBuf>
Get output path
Sourcepub fn worker_threads(&self) -> Option<usize>
pub fn worker_threads(&self) -> Option<usize>
Get worker thread count
Sourcepub fn is_verbose(&self) -> bool
pub fn is_verbose(&self) -> bool
Check if verbose mode is enabled
Sourcepub fn is_dry_run(&self) -> bool
pub fn is_dry_run(&self) -> bool
Check if dry run mode is enabled
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppConfig
impl RefUnwindSafe for AppConfig
impl Send for AppConfig
impl Sync for AppConfig
impl Unpin for AppConfig
impl UnwindSafe for AppConfig
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