pub enum FactInjectReason {
Never,
Evicted,
Mutated,
}Expand description
Why a fact’s body was (re-)injected into the context, carried by
TraceEvent::FactInject. The grounding layer decides this by scanning
the transcript for the fact’s own body text (content presence); it is the
observable half of the re-injection freshness gate.
Variants§
Never
Not present in the transcript and never injected this session — a
first injection. Wire value never.
Evicted
Injected earlier but its body is gone from the window now (trimmed /
compacted out), so it is re-injected. Wire value evicted.
Mutated
The registered body changed since it was injected (the current body is
absent and differs from the one last injected), so the new version is
injected. Wire value mutated.
Trait Implementations§
Source§impl Clone for FactInjectReason
impl Clone for FactInjectReason
Source§fn clone(&self) -> FactInjectReason
fn clone(&self) -> FactInjectReason
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 FactInjectReason
Source§impl Debug for FactInjectReason
impl Debug for FactInjectReason
Source§impl<'de> Deserialize<'de> for FactInjectReason
impl<'de> Deserialize<'de> for FactInjectReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FactInjectReason
Source§impl PartialEq for FactInjectReason
impl PartialEq for FactInjectReason
Source§impl Serialize for FactInjectReason
impl Serialize for FactInjectReason
impl StructuralPartialEq for FactInjectReason
Auto Trait Implementations§
impl Freeze for FactInjectReason
impl RefUnwindSafe for FactInjectReason
impl Send for FactInjectReason
impl Sync for FactInjectReason
impl Unpin for FactInjectReason
impl UnsafeUnpin for FactInjectReason
impl UnwindSafe for FactInjectReason
Blanket Implementations§
impl<T> Boilerplate 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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 more