pub trait ModelCheckerContext:
Sized
+ Clone
+ Debug {
type CreationError: Error;
type ContextOptions;
// Required method
fn try_new(
opt: Option<Self::ContextOptions>,
) -> Result<Self, Self::CreationError>;
}Expand description
Trait of contexts for model checker
A context to a model checker supplies backend functionality such as, for example an SMT solver to the model checker
Required Associated Types§
Sourcetype CreationError: Error
type CreationError: Error
Possible error that can occur during creation of the context
Sourcetype ContextOptions
type ContextOptions
Options for the model checker context
Required Methods§
Sourcefn try_new(
opt: Option<Self::ContextOptions>,
) -> Result<Self, Self::CreationError>
fn try_new( opt: Option<Self::ContextOptions>, ) -> Result<Self, Self::CreationError>
Create a new model checking context
Tries to create a new context with the given options
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl ModelCheckerContext for SMTSolverBuilder
Implement ModelCheckerContext for the SMT solver builder
impl ModelCheckerContext for SMTSolverBuilder
Implement ModelCheckerContext for the SMT solver builder