pub enum MemoryGovernanceState {
Active,
Pinned,
NeedsReview,
Superseded,
Archived,
}Expand description
General governance state for durable memory curation.
Variants§
Active
Entry is healthy and retrieved normally.
Pinned
Entry was explicitly pinned by an operator and should be preferred.
NeedsReview
Entry needs operator review before it should be trusted broadly.
Superseded
Entry is retained for auditability but has been superseded by a stronger record.
Archived
Entry is removed from normal retrieval.
Trait Implementations§
Source§impl Clone for MemoryGovernanceState
impl Clone for MemoryGovernanceState
Source§fn clone(&self) -> MemoryGovernanceState
fn clone(&self) -> MemoryGovernanceState
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 MemoryGovernanceState
impl Debug for MemoryGovernanceState
Source§impl Default for MemoryGovernanceState
impl Default for MemoryGovernanceState
Source§fn default() -> MemoryGovernanceState
fn default() -> MemoryGovernanceState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemoryGovernanceState
impl<'de> Deserialize<'de> for MemoryGovernanceState
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 MemoryGovernanceState
impl Display for MemoryGovernanceState
Source§impl FromStr for MemoryGovernanceState
impl FromStr for MemoryGovernanceState
Source§impl PartialEq for MemoryGovernanceState
impl PartialEq for MemoryGovernanceState
Source§impl Serialize for MemoryGovernanceState
impl Serialize for MemoryGovernanceState
impl Copy for MemoryGovernanceState
impl Eq for MemoryGovernanceState
impl StructuralPartialEq for MemoryGovernanceState
Auto Trait Implementations§
impl Freeze for MemoryGovernanceState
impl RefUnwindSafe for MemoryGovernanceState
impl Send for MemoryGovernanceState
impl Sync for MemoryGovernanceState
impl Unpin for MemoryGovernanceState
impl UnwindSafe for MemoryGovernanceState
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