pub enum ModelCheckerSetupError<M: ModelChecker> {
ErrorTransformingTA(TAErrorOf<M>),
ErrorTransformingSpec(SpecErrorOf<M>),
ErrorContextSetup(ContextErrorOf<M>),
ErrorInitializingModelChecker(M::InitializationError),
}Expand description
Result type for initialization of a model checker
The error is parameterized by the model checker it originates from, as every stage of the setup reports the error type of that model checker.
Variants§
ErrorTransformingTA(TAErrorOf<M>)
Could not initialize model checker because transformation of threshold automaton failed
ErrorTransformingSpec(SpecErrorOf<M>)
Could not initialize model checker because transformation of specification failed
ErrorContextSetup(ContextErrorOf<M>)
Could not initialize model checker because context could not be initialized
ErrorInitializingModelChecker(M::InitializationError)
Error that can occur during initialization
Trait Implementations§
Source§impl<M: Debug + ModelChecker> Debug for ModelCheckerSetupError<M>where
M::InitializationError: Debug,
impl<M: Debug + ModelChecker> Debug for ModelCheckerSetupError<M>where
M::InitializationError: Debug,
Auto Trait Implementations§
impl<M> Freeze for ModelCheckerSetupError<M>where
<<M as ModelChecker>::ThresholdAutomatonType as TATrait<<M as ModelChecker>::ModelCheckerContext, <<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::InternalSpecType>>::TransformationError: Freeze,
<<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::TransformationError: Freeze,
<<M as ModelChecker>::ModelCheckerContext as ModelCheckerContext>::CreationError: Freeze,
<M as ModelChecker>::InitializationError: Freeze,
impl<M> RefUnwindSafe for ModelCheckerSetupError<M>where
<<M as ModelChecker>::ThresholdAutomatonType as TATrait<<M as ModelChecker>::ModelCheckerContext, <<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::InternalSpecType>>::TransformationError: RefUnwindSafe,
<<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::TransformationError: RefUnwindSafe,
<<M as ModelChecker>::ModelCheckerContext as ModelCheckerContext>::CreationError: RefUnwindSafe,
<M as ModelChecker>::InitializationError: RefUnwindSafe,
impl<M> Send for ModelCheckerSetupError<M>where
<<M as ModelChecker>::ThresholdAutomatonType as TATrait<<M as ModelChecker>::ModelCheckerContext, <<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::InternalSpecType>>::TransformationError: Send,
<<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::TransformationError: Send,
<<M as ModelChecker>::ModelCheckerContext as ModelCheckerContext>::CreationError: Send,
<M as ModelChecker>::InitializationError: Send,
impl<M> Sync for ModelCheckerSetupError<M>where
<<M as ModelChecker>::ThresholdAutomatonType as TATrait<<M as ModelChecker>::ModelCheckerContext, <<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::InternalSpecType>>::TransformationError: Sync,
<<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::TransformationError: Sync,
<<M as ModelChecker>::ModelCheckerContext as ModelCheckerContext>::CreationError: Sync,
<M as ModelChecker>::InitializationError: Sync,
impl<M> Unpin for ModelCheckerSetupError<M>where
<<M as ModelChecker>::ThresholdAutomatonType as TATrait<<M as ModelChecker>::ModelCheckerContext, <<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::InternalSpecType>>::TransformationError: Unpin,
<<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::TransformationError: Unpin,
<<M as ModelChecker>::ModelCheckerContext as ModelCheckerContext>::CreationError: Unpin,
<M as ModelChecker>::InitializationError: Unpin,
impl<M> UnsafeUnpin for ModelCheckerSetupError<M>where
<<M as ModelChecker>::ThresholdAutomatonType as TATrait<<M as ModelChecker>::ModelCheckerContext, <<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::InternalSpecType>>::TransformationError: UnsafeUnpin,
<<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::TransformationError: UnsafeUnpin,
<<M as ModelChecker>::ModelCheckerContext as ModelCheckerContext>::CreationError: UnsafeUnpin,
<M as ModelChecker>::InitializationError: UnsafeUnpin,
impl<M> UnwindSafe for ModelCheckerSetupError<M>where
<<M as ModelChecker>::ThresholdAutomatonType as TATrait<<M as ModelChecker>::ModelCheckerContext, <<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::InternalSpecType>>::TransformationError: UnwindSafe,
<<M as ModelChecker>::SpecType as SpecificationTrait<<M as ModelChecker>::ModelCheckerContext>>::TransformationError: UnwindSafe,
<<M as ModelChecker>::ModelCheckerContext as ModelCheckerContext>::CreationError: UnwindSafe,
<M as ModelChecker>::InitializationError: UnwindSafe,
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
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