#[non_exhaustive]pub struct TraceValidatorConfig {
pub trace_spec: PathBuf,
pub init: String,
pub next: String,
pub inv: String,
pub cinit: String,
pub apalache_bin: String,
pub timeout: Option<Duration>,
}Expand description
Configuration for Apalache-based trace validation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.trace_spec: PathBufPath to the TLA+ TraceSpec file.
init: StringINIT predicate name in the TraceSpec (default: “TraceInit”).
next: StringNEXT predicate name in the TraceSpec (default: “TraceNext”).
inv: StringInvariant that is violated when the trace is fully consumed (default: “TraceFinished”).
cinit: StringConstant initialization predicate (default: “TraceConstInit”).
apalache_bin: StringPath to the Apalache binary (default: “apalache-mc”).
timeout: Option<Duration>Timeout for the Apalache subprocess. If None, no timeout is applied.
Implementations§
Source§impl TraceValidatorConfig
impl TraceValidatorConfig
pub fn builder() -> TraceValidatorConfigBuilder
Trait Implementations§
Source§impl Clone for TraceValidatorConfig
impl Clone for TraceValidatorConfig
Source§fn clone(&self) -> TraceValidatorConfig
fn clone(&self) -> TraceValidatorConfig
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 TraceValidatorConfig
impl Debug for TraceValidatorConfig
Source§impl Default for TraceValidatorConfig
impl Default for TraceValidatorConfig
Source§impl From<&str> for TraceValidatorConfig
impl From<&str> for TraceValidatorConfig
Auto Trait Implementations§
impl Freeze for TraceValidatorConfig
impl RefUnwindSafe for TraceValidatorConfig
impl Send for TraceValidatorConfig
impl Sync for TraceValidatorConfig
impl Unpin for TraceValidatorConfig
impl UnsafeUnpin for TraceValidatorConfig
impl UnwindSafe for TraceValidatorConfig
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