pub enum ELTLExpressionBuilderError {
UnknownIdentifier {
property_name: String,
expr: Box<ELTLExpression>,
ident: String,
},
DuplicateName {
property_name: String,
},
ParameterConstraintBehindTemporalOperator {
lhs: Box<IntegerExpression<Parameter>>,
op: ComparisonOp,
rhs: Box<IntegerExpression<Parameter>>,
property_name: String,
},
}Expand description
Errors that can occur when building ELTL expressions over a threshold automaton
Variants§
UnknownIdentifier
Found an unknown atomic identifier
Fields
§
expr: Box<ELTLExpression>Expression containing the unknown identifier
DuplicateName
Tried to add a specification with the same name twice to the specification
ParameterConstraintBehindTemporalOperator
Found an expression over parameters behind a temporal operator, which syntax is not defined
Trait Implementations§
Source§impl Clone for ELTLExpressionBuilderError
impl Clone for ELTLExpressionBuilderError
Source§fn clone(&self) -> ELTLExpressionBuilderError
fn clone(&self) -> ELTLExpressionBuilderError
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 ELTLExpressionBuilderError
impl Debug for ELTLExpressionBuilderError
Source§impl Display for ELTLExpressionBuilderError
impl Display for ELTLExpressionBuilderError
Source§impl Error for ELTLExpressionBuilderError
impl Error for ELTLExpressionBuilderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl StructuralPartialEq for ELTLExpressionBuilderError
Auto Trait Implementations§
impl Freeze for ELTLExpressionBuilderError
impl RefUnwindSafe for ELTLExpressionBuilderError
impl Send for ELTLExpressionBuilderError
impl Sync for ELTLExpressionBuilderError
impl Unpin for ELTLExpressionBuilderError
impl UnwindSafe for ELTLExpressionBuilderError
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> 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