pub enum MakeInstanceError {
NullPointer,
Parsing,
CouldNotCreate,
RuleNetwork,
Unknown(u32),
}Expand description
Why creating an instance from make-instance syntax failed.
Variants§
NullPointer
A required argument was NULL; a bug in this crate.
Parsing
The instance text is syntactically invalid.
CouldNotCreate
CLIPS declined to create the instance.
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 MakeInstanceError
impl Clone for MakeInstanceError
impl Copy for MakeInstanceError
Source§impl Debug for MakeInstanceError
impl Debug for MakeInstanceError
impl Eq for MakeInstanceError
Source§impl From<u32> for MakeInstanceError
impl From<u32> for MakeInstanceError
Source§impl PartialEq for MakeInstanceError
impl PartialEq for MakeInstanceError
impl StructuralPartialEq for MakeInstanceError
Auto Trait Implementations§
impl Freeze for MakeInstanceError
impl RefUnwindSafe for MakeInstanceError
impl Send for MakeInstanceError
impl Sync for MakeInstanceError
impl Unpin for MakeInstanceError
impl UnsafeUnpin for MakeInstanceError
impl UnwindSafe for MakeInstanceError
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