pub struct EvalOptions {
pub runner: Utf8PathBuf,
pub lake_root: Utf8PathBuf,
pub timeout: Duration,
}Expand description
Runtime options for an eval run.
Fields§
§runner: Utf8PathBufRunner executable or script that speaks the process contract.
lake_root: Utf8PathBufLake workspace root, forwarded to the runner via LAKE_ROOT_ENV.
timeout: DurationHow long to wait for one reply before treating the runner as stuck.
Implementations§
Source§impl EvalOptions
impl EvalOptions
Sourcepub fn new(runner: Utf8PathBuf, lake_root: Utf8PathBuf) -> Self
pub fn new(runner: Utf8PathBuf, lake_root: Utf8PathBuf) -> Self
Options for runner rooted at lake_root, with a two-minute per-task
reply timeout.
Trait Implementations§
Source§impl Clone for EvalOptions
impl Clone for EvalOptions
Source§fn clone(&self) -> EvalOptions
fn clone(&self) -> EvalOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EvalOptions
impl Debug for EvalOptions
impl Eq for EvalOptions
Source§impl PartialEq for EvalOptions
impl PartialEq for EvalOptions
Source§fn eq(&self, other: &EvalOptions) -> bool
fn eq(&self, other: &EvalOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EvalOptions
Auto Trait Implementations§
impl Freeze for EvalOptions
impl RefUnwindSafe for EvalOptions
impl Send for EvalOptions
impl Sync for EvalOptions
impl Unpin for EvalOptions
impl UnsafeUnpin for EvalOptions
impl UnwindSafe for EvalOptions
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