pub enum MemoryStatus {
Current,
Unbound,
Stale,
Superseded,
Invalidated,
}Expand description
Durable retrieval lifecycle of one context item.
Variants§
Current
Bound to the latest workspace state observed by the runtime.
Unbound
Not bound to a workspace state and therefore never current evidence.
Stale
Invalidated by a later observed workspace state.
Superseded
Replaced by a newer context item.
Invalidated
Explicitly invalidated by the runtime.
Trait Implementations§
Source§impl Clone for MemoryStatus
impl Clone for MemoryStatus
Source§fn clone(&self) -> MemoryStatus
fn clone(&self) -> MemoryStatus
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 MemoryStatus
Source§impl Debug for MemoryStatus
impl Debug for MemoryStatus
Source§impl<'de> Deserialize<'de> for MemoryStatus
impl<'de> Deserialize<'de> for MemoryStatus
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 MemoryStatus
Source§impl PartialEq for MemoryStatus
impl PartialEq for MemoryStatus
Source§impl Serialize for MemoryStatus
impl Serialize for MemoryStatus
impl StructuralPartialEq for MemoryStatus
Auto Trait Implementations§
impl Freeze for MemoryStatus
impl RefUnwindSafe for MemoryStatus
impl Send for MemoryStatus
impl Sync for MemoryStatus
impl Unpin for MemoryStatus
impl UnsafeUnpin for MemoryStatus
impl UnwindSafe for MemoryStatus
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