pub struct InterpreterOptions {
pub error_on_hung: bool,
pub error_on_missing: bool,
pub output_timeout: Duration,
pub hung_tx_timeout: Duration,
}
Fields§
§error_on_hung: bool
Stop the interpreter and return an error on any hung transactions.
error_on_missing: bool
Stop the interpreter and return an error if any messages come after a transaction has completed.
output_timeout: Duration
Timeout after which a component that has received no output is considered dead.
hung_tx_timeout: Duration
Timeout after which a transaction that has had no events is considered hung.
Trait Implementations§
source§impl Clone for InterpreterOptions
impl Clone for InterpreterOptions
source§fn clone(&self) -> InterpreterOptions
fn clone(&self) -> InterpreterOptions
Returns a copy 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 more