pub enum ClingoErrorCode {
Runtime,
Logic,
BadAlloc,
Unknown,
}Expand description
Error codes returned by the clingo C library.
Variants§
Trait Implementations§
Source§impl Clone for ClingoErrorCode
impl Clone for ClingoErrorCode
Source§fn clone(&self) -> ClingoErrorCode
fn clone(&self) -> ClingoErrorCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClingoErrorCode
impl Debug for ClingoErrorCode
Source§impl PartialEq for ClingoErrorCode
impl PartialEq for ClingoErrorCode
impl Copy for ClingoErrorCode
impl Eq for ClingoErrorCode
impl StructuralPartialEq for ClingoErrorCode
Auto Trait Implementations§
impl Freeze for ClingoErrorCode
impl RefUnwindSafe for ClingoErrorCode
impl Send for ClingoErrorCode
impl Sync for ClingoErrorCode
impl Unpin for ClingoErrorCode
impl UnsafeUnpin for ClingoErrorCode
impl UnwindSafe for ClingoErrorCode
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