pub enum RetractionError {
NullPointer,
CouldNotRetract,
RuleNetwork,
Unknown(u32),
}Expand description
Why retracting a fact failed.
Variants§
NullPointer
A required argument was NULL; a bug in this crate.
CouldNotRetract
CLIPS declined the retraction, for example because the fact was already retracted.
RuleNetwork
An evaluation error occurred as the retraction propagated through the rule network.
Unknown(u32)
A code this crate does not recognise, reported rather than silently treated as success. Seeing one means CLIPS gained a code since 6.4.2 or the declaration is wrong.
Trait Implementations§
Source§impl Clone for RetractionError
impl Clone for RetractionError
impl Copy for RetractionError
Source§impl Debug for RetractionError
impl Debug for RetractionError
impl Eq for RetractionError
Source§impl From<u32> for RetractionError
impl From<u32> for RetractionError
Source§impl PartialEq for RetractionError
impl PartialEq for RetractionError
impl StructuralPartialEq for RetractionError
Auto Trait Implementations§
impl Freeze for RetractionError
impl RefUnwindSafe for RetractionError
impl Send for RetractionError
impl Sync for RetractionError
impl Unpin for RetractionError
impl UnsafeUnpin for RetractionError
impl UnwindSafe for RetractionError
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