pub enum FactBuilderError {
NullPointer,
TemplateNotFound,
ImpliedTemplate,
CouldNotAssert,
RuleNetwork,
Unknown(u32),
}Expand description
Why a fact builder could not produce a fact.
Variants§
NullPointer
A required argument was NULL; a bug in this crate.
TemplateNotFound
No deftemplate of that name exists.
ImpliedTemplate
The deftemplate is implied, so it has no named slots to fill.
CouldNotAssert
CLIPS declined the assertion.
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 FactBuilderError
impl Clone for FactBuilderError
impl Copy for FactBuilderError
Source§impl Debug for FactBuilderError
impl Debug for FactBuilderError
impl Eq for FactBuilderError
Source§impl From<u32> for FactBuilderError
impl From<u32> for FactBuilderError
Source§impl PartialEq for FactBuilderError
impl PartialEq for FactBuilderError
impl StructuralPartialEq for FactBuilderError
Auto Trait Implementations§
impl Freeze for FactBuilderError
impl RefUnwindSafe for FactBuilderError
impl Send for FactBuilderError
impl Sync for FactBuilderError
impl Unpin for FactBuilderError
impl UnsafeUnpin for FactBuilderError
impl UnwindSafe for FactBuilderError
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