pub enum ReflectionMemoryState {
Active,
Decayed,
NeedsReview,
Archived,
}Expand description
Retrieval state for reflection-derived durable memories.
Variants§
Active
Reflection is healthy and can be injected normally.
Decayed
Reflection has repeated negative evidence and should be downranked.
NeedsReview
Reflection conflicts with observed evidence and needs review.
Archived
Reflection should no longer be retrieved for prompt injection.
Trait Implementations§
Source§impl Clone for ReflectionMemoryState
impl Clone for ReflectionMemoryState
Source§fn clone(&self) -> ReflectionMemoryState
fn clone(&self) -> ReflectionMemoryState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReflectionMemoryState
impl Debug for ReflectionMemoryState
Source§impl<'de> Deserialize<'de> for ReflectionMemoryState
impl<'de> Deserialize<'de> for ReflectionMemoryState
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
Source§impl Display for ReflectionMemoryState
impl Display for ReflectionMemoryState
Source§impl FromStr for ReflectionMemoryState
impl FromStr for ReflectionMemoryState
Source§impl PartialEq for ReflectionMemoryState
impl PartialEq for ReflectionMemoryState
Source§impl Serialize for ReflectionMemoryState
impl Serialize for ReflectionMemoryState
impl Copy for ReflectionMemoryState
impl Eq for ReflectionMemoryState
impl StructuralPartialEq for ReflectionMemoryState
Auto Trait Implementations§
impl Freeze for ReflectionMemoryState
impl RefUnwindSafe for ReflectionMemoryState
impl Send for ReflectionMemoryState
impl Sync for ReflectionMemoryState
impl Unpin for ReflectionMemoryState
impl UnwindSafe for ReflectionMemoryState
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