pub enum OrphanKind {
OrphanEffect,
IdleDerived,
IdleProducer,
}Expand description
Orphan classification for a NodeProfile. None when the node
has at least one subscriber, or when it is a state node (state
has no fn to be “idle” about — excluded by construction at
profile.ts:129-138).
Variants§
OrphanEffect
Effect node with zero subscribers — classic leak pattern
(pre-existing class in pure-ts before the broader idle-*
categorization).
IdleDerived
Derived node with zero subscribers — wasted compute path if it ever activates; often indicates a factory forgot keepalive.
IdleProducer
Producer node with zero subscribers — no external consumer; often an over-eager factory or forgotten cleanup.
Trait Implementations§
Source§impl Clone for OrphanKind
impl Clone for OrphanKind
Source§fn clone(&self) -> OrphanKind
fn clone(&self) -> OrphanKind
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 OrphanKind
impl Debug for OrphanKind
Source§impl PartialEq for OrphanKind
impl PartialEq for OrphanKind
Source§fn eq(&self, other: &OrphanKind) -> bool
fn eq(&self, other: &OrphanKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OrphanKind
impl Serialize for OrphanKind
impl Copy for OrphanKind
impl Eq for OrphanKind
impl StructuralPartialEq for OrphanKind
Auto Trait Implementations§
impl Freeze for OrphanKind
impl RefUnwindSafe for OrphanKind
impl Send for OrphanKind
impl Sync for OrphanKind
impl Unpin for OrphanKind
impl UnsafeUnpin for OrphanKind
impl UnwindSafe for OrphanKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.