pub struct RunSettings {
pub threads: Sourced<usize>,
pub no_cache: Sourced<bool>,
pub allow_remote_extends: Sourced<bool>,
pub max_file_size_bytes: Sourced<Option<u64>>,
pub cache_dir: Sourced<PathBuf>,
pub cache_max_size_mb: Sourced<Option<u32>>,
pub package_baselines: Sourced<bool>,
pub include_entry_exports: Sourced<bool>,
pub output: OutputFormat,
pub quiet: bool,
}Expand description
The settings of one run. Every mode entry of the run has these values.
Fields§
§threads: Sourced<usize>The number of worker threads.
no_cache: Sourced<bool>Whether the run bypasses the parse cache.
allow_remote_extends: Sourced<bool>Whether the extends chain of the config may name https:// entries.
max_file_size_bytes: Sourced<Option<u64>>The largest file to analyze, in bytes. None means no limit.
cache_dir: Sourced<PathBuf>The cache directory.
cache_max_size_mb: Sourced<Option<u32>>The size limit of the parse cache, in megabytes.
package_baselines: Sourced<bool>Whether the run reads workspaces.changedSince.
include_entry_exports: Sourced<bool>Whether dead code reports the unused exports of entry files.
output: OutputFormatThe output format.
quiet: boolWhether the run suppresses progress output.
Trait Implementations§
Auto Trait Implementations§
impl Forget for RunSettings
impl Freeze for RunSettings
impl Move for RunSettings
impl RefUnwindSafe for RunSettings
impl Send for RunSettings
impl Sync for RunSettings
impl Unpin for RunSettings
impl UnsafeUnpin for RunSettings
impl UnwindSafe for RunSettings
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
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> ⓘ
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