pub enum MatchCriteria {
Comparison(Comparison),
Boolean(BooleanExpr),
Unsupported {
element: NameId,
},
}Expand description
A condition on previously decoded parameter values.
Variants§
Comparison(Comparison)
<xtce:Comparison>: one parameter against a literal.
Boolean(BooleanExpr)
<xtce:BooleanExpression>: a tree of conditions.
Unsupported
A criterion kind outside this crate’s scope, e.g. <CustomAlgorithm>.
Evaluating one reports XtceError::Unsupported rather than silently matching or
failing, so an out-of-scope discriminator can never quietly select the wrong
container.
Trait Implementations§
Source§impl Clone for MatchCriteria
impl Clone for MatchCriteria
Auto Trait Implementations§
impl Forget for MatchCriteria
impl Freeze for MatchCriteria
impl Move for MatchCriteria
impl RefUnwindSafe for MatchCriteria
impl Send for MatchCriteria
impl Sync for MatchCriteria
impl Unpin for MatchCriteria
impl UnsafeUnpin for MatchCriteria
impl UnwindSafe for MatchCriteria
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