pub enum FactModifierError {
NullPointer,
Retracted,
ImpliedTemplate,
CouldNotModify,
RuleNetwork,
Unknown(u32),
}Expand description
Why modifying a fact failed.
Variants§
NullPointer
A required argument was NULL; a bug in this crate.
Retracted
The fact being modified has been retracted.
ImpliedTemplate
The fact’s deftemplate is implied, so it has no named slots.
CouldNotModify
CLIPS declined the modification.
RuleNetwork
An evaluation error occurred in 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 FactModifierError
impl Clone for FactModifierError
impl Copy for FactModifierError
Source§impl Debug for FactModifierError
impl Debug for FactModifierError
impl Eq for FactModifierError
Source§impl From<u32> for FactModifierError
impl From<u32> for FactModifierError
Source§impl PartialEq for FactModifierError
impl PartialEq for FactModifierError
impl StructuralPartialEq for FactModifierError
Auto Trait Implementations§
impl Freeze for FactModifierError
impl RefUnwindSafe for FactModifierError
impl Send for FactModifierError
impl Sync for FactModifierError
impl Unpin for FactModifierError
impl UnsafeUnpin for FactModifierError
impl UnwindSafe for FactModifierError
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