pub struct Options {
pub settings: Settings,
pub locale: Locale,
pub threads: Option<usize>,
pub store_budget: Option<usize>,
pub spill_dir: Option<PathBuf>,
/* private fields */
}Expand description
Everything a run takes besides its source.
Fields§
§settings: Settings§locale: LocaleThe language of the diagnostics and progress messages the observer and the result show (default English). Persisted rows are always written in zh, as the page writes them.
threads: Option<usize>Threads the kernels run on; None uses rayon’s global pool (one per core). Without the rayon feature the
kernels run on the calling thread, and more than one thread is an Error::Threads.
store_budget: Option<usize>Keep encoded tiles in memory up to this many bytes, then move them to spill_dir (default: no limit).
spill_dir: Option<PathBuf>Where encoded tiles go past store_budget (default: a fresh directory under the system temp directory).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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 more