pub enum ContextInvalidationReason {
WorkspaceChanged,
Superseded,
Policy,
Provenance,
}Expand description
Runtime-owned reason a memory item ceased to be current.
Variants§
WorkspaceChanged
A different canonical workspace state was observed.
Superseded
A newer item explicitly replaced this item.
Policy
Runtime policy rejected continued use.
Provenance
Source provenance failed validation.
Trait Implementations§
Source§impl Clone for ContextInvalidationReason
impl Clone for ContextInvalidationReason
Source§fn clone(&self) -> ContextInvalidationReason
fn clone(&self) -> ContextInvalidationReason
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 ContextInvalidationReason
Source§impl Debug for ContextInvalidationReason
impl Debug for ContextInvalidationReason
Source§impl<'de> Deserialize<'de> for ContextInvalidationReason
impl<'de> Deserialize<'de> for ContextInvalidationReason
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 ContextInvalidationReason
impl StructuralPartialEq for ContextInvalidationReason
Auto Trait Implementations§
impl Freeze for ContextInvalidationReason
impl RefUnwindSafe for ContextInvalidationReason
impl Send for ContextInvalidationReason
impl Sync for ContextInvalidationReason
impl Unpin for ContextInvalidationReason
impl UnsafeUnpin for ContextInvalidationReason
impl UnwindSafe for ContextInvalidationReason
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