pub struct TACOConfig {
smt: Option<SMTSolverBuilderCfg>,
bdd: Option<BDDManagerConfig>,
preprocessors: Option<Vec<ExistingPreprocessors>>,
}Expand description
Type representing configuration options for the TACO model checker
This struct contains options for the SMT solver and the BDD manager that can
be set using config files or environment variables. This type implements
serde::Deserialize to easily parse the configuration out of structured
configuration.
Fields§
§smt: Option<SMTSolverBuilderCfg>Options for the SMT solver
bdd: Option<BDDManagerConfig>Options for the BDD manager
preprocessors: Option<Vec<ExistingPreprocessors>>Options for configuring which preprocessors to use
Implementations§
Source§impl TACOConfig
impl TACOConfig
Sourcepub fn set_smt_solver_builder_cfg(&mut self, cfg: SMTSolverBuilderCfg)
pub fn set_smt_solver_builder_cfg(&mut self, cfg: SMTSolverBuilderCfg)
Set the configuration for the SMT solver builder to the given value
Sourcepub fn set_bdd_config(&mut self, cfg: BDDManagerConfig)
pub fn set_bdd_config(&mut self, cfg: BDDManagerConfig)
Set the configuration for the BDD manager to the given value
Sourcepub fn get_bdd_smt_config(
&self,
) -> (Option<SMTSolverBuilderCfg>, Option<BDDManagerConfig>)
pub fn get_bdd_smt_config( &self, ) -> (Option<SMTSolverBuilderCfg>, Option<BDDManagerConfig>)
Get BDD manager and SMT solver builder configuration
Sourcepub fn get_smt_solver_builder_cfg(&self) -> Option<SMTSolverBuilderCfg>
pub fn get_smt_solver_builder_cfg(&self) -> Option<SMTSolverBuilderCfg>
Get the SMT solver builder configuration
pub fn get_preprocessors_cfg(&self) -> &Option<Vec<ExistingPreprocessors>>
Trait Implementations§
Source§impl Clone for TACOConfig
impl Clone for TACOConfig
Source§fn clone(&self) -> TACOConfig
fn clone(&self) -> TACOConfig
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 TACOConfig
impl Debug for TACOConfig
Source§impl Default for TACOConfig
impl Default for TACOConfig
Source§fn default() -> TACOConfig
fn default() -> TACOConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TACOConfig
impl<'de> Deserialize<'de> for TACOConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TACOConfig
impl RefUnwindSafe for TACOConfig
impl Send for TACOConfig
impl Sync for TACOConfig
impl Unpin for TACOConfig
impl UnwindSafe for TACOConfig
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more