pub enum ResidentRejectKind {
Negation,
EpistemicLiteral,
NonRelationalLiteral,
ArityTooHigh,
BodyTooLong,
TooManyVars,
UnboundedTerm,
DomainTooLarge,
UniverseTooLarge,
InconsistentArity,
AnnotatedDisjunctionUnsupported,
}Expand description
Kind of a fail-closed rejection of an MC program by the resident engine.
Variants§
Negation
A body literal uses negation.
EpistemicLiteral
A body literal is epistemic (know/possible).
NonRelationalLiteral
A body literal is a comparison / arithmetic / univ (non-relational).
ArityTooHigh
A predicate arity exceeds [MAX_ARITY].
BodyTooLong
A rule body has more than [MAX_BODY] literals.
TooManyVars
A rule uses more than [MAX_VARS] distinct variables.
UnboundedTerm
A term is not a variable or ground constant (list/compound/functor/agg).
DomainTooLarge
The bounded domain exceeds [MAX_DOMAIN].
UniverseTooLarge
The bounded universe exceeds [MAX_UNIVERSE].
InconsistentArity
A predicate appears with inconsistent arity.
AnnotatedDisjunctionUnsupported
Annotated disjunctions are not yet supported by the resident engine.
Implementations§
Trait Implementations§
Source§impl Clone for ResidentRejectKind
impl Clone for ResidentRejectKind
Source§fn clone(&self) -> ResidentRejectKind
fn clone(&self) -> ResidentRejectKind
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 ResidentRejectKind
impl Debug for ResidentRejectKind
Source§impl PartialEq for ResidentRejectKind
impl PartialEq for ResidentRejectKind
impl Copy for ResidentRejectKind
impl Eq for ResidentRejectKind
impl StructuralPartialEq for ResidentRejectKind
Auto Trait Implementations§
impl Freeze for ResidentRejectKind
impl RefUnwindSafe for ResidentRejectKind
impl Send for ResidentRejectKind
impl Sync for ResidentRejectKind
impl Unpin for ResidentRejectKind
impl UnsafeUnpin for ResidentRejectKind
impl UnwindSafe for ResidentRejectKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more