pub enum SemanticTaskRefusal {
Scope,
HardConstraint,
FactCapacity,
FuelExhausted,
}Expand description
A task-local refusal is not a semantic infrastructure failure.
Variants§
Implementations§
Source§impl SemanticTaskRefusal
impl SemanticTaskRefusal
pub const fn canonical_kind(self) -> &'static str
Trait Implementations§
Source§impl Clone for SemanticTaskRefusal
impl Clone for SemanticTaskRefusal
Source§fn clone(&self) -> SemanticTaskRefusal
fn clone(&self) -> SemanticTaskRefusal
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 moreimpl Copy for SemanticTaskRefusal
Source§impl Debug for SemanticTaskRefusal
impl Debug for SemanticTaskRefusal
impl Eq for SemanticTaskRefusal
Source§impl PartialEq for SemanticTaskRefusal
impl PartialEq for SemanticTaskRefusal
impl StructuralPartialEq for SemanticTaskRefusal
Auto Trait Implementations§
impl Freeze for SemanticTaskRefusal
impl RefUnwindSafe for SemanticTaskRefusal
impl Send for SemanticTaskRefusal
impl Sync for SemanticTaskRefusal
impl Unpin for SemanticTaskRefusal
impl UnsafeUnpin for SemanticTaskRefusal
impl UnwindSafe for SemanticTaskRefusal
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more