Enum ReasoningErrorKind
pub enum ReasoningErrorKind {
UnsupportedPremise,
MissingEvidence,
Contradiction,
Hallucination,
ToolError,
CalculationError,
Unknown,
}Variants§
Implementations§
§impl ReasoningErrorKind
impl ReasoningErrorKind
pub const ALL: &'static [ReasoningErrorKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for ReasoningErrorKind
impl Clone for ReasoningErrorKind
§fn clone(&self) -> ReasoningErrorKind
fn clone(&self) -> ReasoningErrorKind
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 more§impl Debug for ReasoningErrorKind
impl Debug for ReasoningErrorKind
§impl Display for ReasoningErrorKind
impl Display for ReasoningErrorKind
§impl FromStr for ReasoningErrorKind
impl FromStr for ReasoningErrorKind
§type Err = ReasoningError
type Err = ReasoningError
The associated error which can be returned from parsing.
§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 more§impl Hash for ReasoningErrorKind
impl Hash for ReasoningErrorKind
§impl Ord for ReasoningErrorKind
impl Ord for ReasoningErrorKind
§fn cmp(&self, other: &ReasoningErrorKind) -> Ordering
fn cmp(&self, other: &ReasoningErrorKind) -> Ordering
1.21.0 · 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
§impl PartialEq for ReasoningErrorKind
impl PartialEq for ReasoningErrorKind
§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