Enum clingo_sys::clingo_error
[−]
[src]
#[repr(u32)]pub enum clingo_error { clingo_error_success, clingo_error_runtime, clingo_error_logic, clingo_error_bad_alloc, clingo_error_unknown, }
Enumeration of error codes.
Note: Errors can only be recovered from if explicitly mentioned; most functions do not provide strong exception guarantees. This means that in case of errors associated objects cannot be used further. If such an object has a free function, this function can and should still be called.
Variants
clingo_error_success
clingo_error_runtime
clingo_error_logic
clingo_error_bad_alloc
clingo_error_unknown
Trait Implementations
impl Debug for clingo_error
[src]
impl Copy for clingo_error
[src]
impl Clone for clingo_error
[src]
fn clone(&self) -> clingo_error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for clingo_error
[src]
fn eq(&self, __arg_0: &clingo_error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.