pub struct FailureKind { /* private fields */ }Implementations§
Source§impl FailureKind
impl FailureKind
pub fn of<D: Diagnostic>() -> Self
pub fn is<D: Diagnostic>(&self) -> bool
pub const fn name(&self) -> &'static str
Trait Implementations§
Source§impl<A, V> ArgumentSource<A, V> for FailureKindwhere
A: Alignment,
for<'a> V: ValueDomain<Value<'a> = Self>,
impl<A, V> ArgumentSource<A, V> for FailureKindwhere
A: Alignment,
for<'a> V: ValueDomain<Value<'a> = Self>,
type Retention = Preserving
fn lookup<'a, 'prepared>(
prepared: &'prepared Self::Prepared<'a>,
_address: &A::Address<'a>,
) -> Lookup<'prepared, QueryResult<V::Value<'a>>>where
Self: 'a,
fn resolve<'a>(
prepared: &Self::Prepared<'a>,
address: &A::Address<'a>,
label: &'static str,
) -> <Self::Retention as ElementEmission>::Step<QueryResult<V::Value<'a>>>where
Self: 'a,
Source§impl Clone for FailureKind
impl Clone for FailureKind
Source§fn clone(&self) -> FailureKind
fn clone(&self) -> FailureKind
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 FailureKind
Source§impl Debug for FailureKind
impl Debug for FailureKind
Source§impl Display for FailureKind
impl Display for FailureKind
impl Eq for FailureKind
Source§impl Explain for FailureKind
impl Explain for FailureKind
fn describe<'a>(&'a self, formatter: &mut ExplainFormatter<'a, '_>) -> Result
Source§impl GroupKey for FailureKind
impl GroupKey for FailureKind
fn resolve_key<'a>( _label: &'static str, _graphrecord: &'a GraphRecord, key: &Self::Owned, ) -> QueryResult<Self::Index<'a>>
Source§impl Hash for FailureKind
impl Hash for FailureKind
Source§impl IndexDomain for FailureKind
impl IndexDomain for FailureKind
Source§impl PartialEq for FailureKind
impl PartialEq for FailureKind
Source§impl PlanIdentity for FailureKind
impl PlanIdentity for FailureKind
fn identity_eq(&self, other: &Self) -> bool
fn identity_hash<H: Hasher>(&self, state: &mut H)
Source§impl PlanInputs for FailureKind
impl PlanInputs for FailureKind
Source§impl Prepare for FailureKind
impl Prepare for FailureKind
type Prepared<'a> = Result<FailureKind, Box<Failure>>
fn prepare<'a>( &'a self, _graphrecord: &'a GraphRecord, _cache: &'a EvaluationCache<'a>, ) -> QueryResult<Self::Prepared<'a>>
Source§impl SourceDomain for FailureKind
impl SourceDomain for FailureKind
Auto Trait Implementations§
impl Freeze for FailureKind
impl RefUnwindSafe for FailureKind
impl Send for FailureKind
impl Sync for FailureKind
impl Unpin for FailureKind
impl UnsafeUnpin for FailureKind
impl UnwindSafe for FailureKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<S, T> ExpandTo<T> for S
impl<S, T> ExpandTo<T> for S
type ReturnOperand = <T as Apply<ExpandToOperation<S>>>::Output
fn expand_to(&self, template: &T) -> <S as ExpandTo<T>>::ReturnOperand
Source§impl<A, V, S> IntoArgument<A, V> for S
impl<A, V, S> IntoArgument<A, V> for S
fn into_argument(self) -> Argument<A, V, <S as ArgumentSource<A, V>>::Retention>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Key for Twhere
T: Clone,
impl<T> Key for Twhere
T: Clone,
impl<T> OwnedIndex for T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more