pub enum RetentionReason {
ReachableFromBranch,
MatchedPredicate(usize),
ParentOfRetained,
}Expand description
Why an op survived a GC plan. Serialized as JSON in the
lex op gc --dry-run envelope so reviewers can see the
reasoning per op.
Variants§
ReachableFromBranch
Reachable via DAG walk from at least one branch head.
MatchedPredicate(usize)
Matched at least one policy.gc_retention.retain predicate
(the index is into that list, not into the merged input —
CLI overrides land before policy entries).
ParentOfRetained
Ancestor of an op retained by one of the above rules. Closure rule preserving DAG integrity.
Trait Implementations§
Source§impl Clone for RetentionReason
impl Clone for RetentionReason
Source§fn clone(&self) -> RetentionReason
fn clone(&self) -> RetentionReason
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 moreSource§impl Debug for RetentionReason
impl Debug for RetentionReason
Source§impl<'de> Deserialize<'de> for RetentionReason
impl<'de> Deserialize<'de> for RetentionReason
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 RetentionReason
Source§impl PartialEq for RetentionReason
impl PartialEq for RetentionReason
Source§impl Serialize for RetentionReason
impl Serialize for RetentionReason
impl StructuralPartialEq for RetentionReason
Auto Trait Implementations§
impl Freeze for RetentionReason
impl RefUnwindSafe for RetentionReason
impl Send for RetentionReason
impl Sync for RetentionReason
impl Unpin for RetentionReason
impl UnsafeUnpin for RetentionReason
impl UnwindSafe for RetentionReason
Blanket Implementations§
impl<T> Allocation 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.