pub enum EntailmentError<E> {
Storage(E),
Cancelled,
TargetLimit,
BindingLimit,
TermLimit,
StepLimit,
}Expand description
Incomplete entailment inspection; callers must not report false on error.
Variants§
Storage(E)
Graph or term access failed.
Cancelled
Caller cancelled or superseded the attempt.
TargetLimit
Retaining another target triple would exceed its explicit cap.
BindingLimit
Another existential binding would exceed its explicit cap.
TermLimit
Pending recursive term pairs would exceed their explicit cap.
StepLimit
The explicit total work-step budget was exhausted.
Trait Implementations§
Source§impl<E: Debug> Debug for EntailmentError<E>
impl<E: Debug> Debug for EntailmentError<E>
Source§impl<E: Display> Display for EntailmentError<E>
impl<E: Display> Display for EntailmentError<E>
Source§impl<E: Error + 'static> Error for EntailmentError<E>
impl<E: Error + 'static> Error for EntailmentError<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.
Auto Trait Implementations§
impl<E> Forget for EntailmentError<E>
impl<E> Freeze for EntailmentError<E>where
E: Freeze,
impl<E> Move for EntailmentError<E>
impl<E> RefUnwindSafe for EntailmentError<E>where
E: RefUnwindSafe,
impl<E> Send for EntailmentError<E>where
E: Send,
impl<E> Sync for EntailmentError<E>where
E: Sync,
impl<E> Unpin for EntailmentError<E>where
E: Unpin,
impl<E> UnsafeUnpin for EntailmentError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for EntailmentError<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