pub enum ReasoningError<E> {
Storage(E),
Cancelled,
LimitExceeded(Limit),
UnsupportedRule(RuleId),
}Expand description
Failure of the entire attempt; any staged output must remain unpublished.
Variants§
Storage(E)
Fallible backend read, resolution or write failed.
Cancelled
Caller cancelled or superseded the attempt.
LimitExceeded(Limit)
Explicit budget prevented complete closure.
UnsupportedRule(RuleId)
Pinned shared rule no longer has the supported flat two-body form.
Trait Implementations§
Source§impl<E: Debug> Debug for ReasoningError<E>
impl<E: Debug> Debug for ReasoningError<E>
Source§impl<E: Display> Display for ReasoningError<E>
impl<E: Display> Display for ReasoningError<E>
Source§impl<E: Error + 'static> Error for ReasoningError<E>
impl<E: Error + 'static> Error for ReasoningError<E>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<E> Forget for ReasoningError<E>
impl<E> Freeze for ReasoningError<E>where
E: Freeze,
impl<E> Move for ReasoningError<E>
impl<E> RefUnwindSafe for ReasoningError<E>where
E: RefUnwindSafe,
impl<E> Send for ReasoningError<E>where
E: Send,
impl<E> Sync for ReasoningError<E>where
E: Sync,
impl<E> Unpin for ReasoningError<E>where
E: Unpin,
impl<E> UnsafeUnpin for ReasoningError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for ReasoningError<E>where
E: UnwindSafe,
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