pub enum TargetConstructionError<E> {
Matching(EntailmentError<E>),
Reasoning(ReasoningError<E>),
SlotLimit,
WorkLimit,
Identity,
CounterOverflow,
}Expand description
Failed construction invalidates the complete scratch attempt.
Variants§
Matching(EntailmentError<E>)
Matching, target reads or structural access failed.
Reasoning(ReasoningError<E>)
Shared constructor, dictionary or premise access failed.
SlotLimit
Pending grounding tasks/values exceeded the configured cap.
WorkLimit
The total target-inspection/grounding budget was exhausted.
Identity
A constructed key did not decompose to the exact requested tuple.
CounterOverflow
A report counter could not be represented.
Trait Implementations§
Source§impl<E: Debug> Debug for TargetConstructionError<E>
impl<E: Debug> Debug for TargetConstructionError<E>
Source§impl<E: Display> Display for TargetConstructionError<E>
impl<E: Display> Display for TargetConstructionError<E>
Source§impl<E: Error + 'static> Error for TargetConstructionError<E>
impl<E: Error + 'static> Error for TargetConstructionError<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()
Source§impl<E> From<EntailmentError<E>> for TargetConstructionError<E>
impl<E> From<EntailmentError<E>> for TargetConstructionError<E>
Source§fn from(e: EntailmentError<E>) -> Self
fn from(e: EntailmentError<E>) -> Self
Converts to this type from the input type.
Source§impl<E> From<ReasoningError<E>> for TargetConstructionError<E>
impl<E> From<ReasoningError<E>> for TargetConstructionError<E>
Source§fn from(e: ReasoningError<E>) -> Self
fn from(e: ReasoningError<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Forget for TargetConstructionError<E>
impl<E> Freeze for TargetConstructionError<E>where
E: Freeze,
impl<E> Move for TargetConstructionError<E>
impl<E> RefUnwindSafe for TargetConstructionError<E>where
E: RefUnwindSafe,
impl<E> Send for TargetConstructionError<E>where
E: Send,
impl<E> Sync for TargetConstructionError<E>where
E: Sync,
impl<E> Unpin for TargetConstructionError<E>where
E: Unpin,
impl<E> UnsafeUnpin for TargetConstructionError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for TargetConstructionError<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