pub enum ReasoningErrorKind {
UnsupportedPremise,
MissingEvidence,
Contradiction,
Hallucination,
ToolError,
CalculationError,
Unknown,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ReasoningErrorKind
impl Clone for ReasoningErrorKind
Source§fn clone(&self) -> ReasoningErrorKind
fn clone(&self) -> ReasoningErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReasoningErrorKind
impl Debug for ReasoningErrorKind
Source§impl Display for ReasoningErrorKind
impl Display for ReasoningErrorKind
Source§impl FromStr for ReasoningErrorKind
impl FromStr for ReasoningErrorKind
Source§type Err = ReasoningError
type Err = ReasoningError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<ReasoningErrorKind, <ReasoningErrorKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<ReasoningErrorKind, <ReasoningErrorKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for ReasoningErrorKind
impl Hash for ReasoningErrorKind
Source§impl Ord for ReasoningErrorKind
impl Ord for ReasoningErrorKind
Source§fn cmp(&self, other: &ReasoningErrorKind) -> Ordering
fn cmp(&self, other: &ReasoningErrorKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReasoningErrorKind
impl PartialEq for ReasoningErrorKind
Source§fn eq(&self, other: &ReasoningErrorKind) -> bool
fn eq(&self, other: &ReasoningErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ReasoningErrorKind
impl PartialOrd for ReasoningErrorKind
impl Copy for ReasoningErrorKind
impl Eq for ReasoningErrorKind
impl StructuralPartialEq for ReasoningErrorKind
Auto Trait Implementations§
impl Freeze for ReasoningErrorKind
impl RefUnwindSafe for ReasoningErrorKind
impl Send for ReasoningErrorKind
impl Sync for ReasoningErrorKind
impl Unpin for ReasoningErrorKind
impl UnsafeUnpin for ReasoningErrorKind
impl UnwindSafe for ReasoningErrorKind
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