pub struct ExecutionOptions {
pub max_steps: u32,
pub tracing: bool,
pub checkpoint_interval: Option<u32>,
pub run_id: Option<String>,
}Expand description
Execution options.
Fields§
§max_steps: u32Maximum steps.
tracing: boolEnable tracing.
checkpoint_interval: Option<u32>Checkpoint interval.
run_id: Option<String>Custom run ID.
Implementations§
Source§impl ExecutionOptions
impl ExecutionOptions
Sourcepub fn checkpoint_every(self, steps: u32) -> Self
pub fn checkpoint_every(self, steps: u32) -> Self
Set checkpoint interval.
Trait Implementations§
Source§impl Clone for ExecutionOptions
impl Clone for ExecutionOptions
Source§fn clone(&self) -> ExecutionOptions
fn clone(&self) -> ExecutionOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 ExecutionOptions
impl Debug for ExecutionOptions
Auto Trait Implementations§
impl Freeze for ExecutionOptions
impl RefUnwindSafe for ExecutionOptions
impl Send for ExecutionOptions
impl Sync for ExecutionOptions
impl Unpin for ExecutionOptions
impl UnwindSafe for ExecutionOptions
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