pub enum GetSlotError {
NullPointer,
InvalidTarget,
SlotNotFound,
Unknown(u32),
}Expand description
Why reading a slot failed.
Variants§
NullPointer
A required argument was NULL; a bug in this crate.
InvalidTarget
The fact or instance is not in a state that can be read.
SlotNotFound
The target has no slot of that name.
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 GetSlotError
impl Clone for GetSlotError
impl Copy for GetSlotError
Source§impl Debug for GetSlotError
impl Debug for GetSlotError
impl Eq for GetSlotError
Source§impl From<u32> for GetSlotError
impl From<u32> for GetSlotError
Source§impl PartialEq for GetSlotError
impl PartialEq for GetSlotError
impl StructuralPartialEq for GetSlotError
Auto Trait Implementations§
impl Freeze for GetSlotError
impl RefUnwindSafe for GetSlotError
impl Send for GetSlotError
impl Sync for GetSlotError
impl Unpin for GetSlotError
impl UnsafeUnpin for GetSlotError
impl UnwindSafe for GetSlotError
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