pub enum TerminalKind {
Complete,
Error(HandleId),
}Expand description
Terminal-lifecycle state — once set on a node, the node will not emit further DATA; per-dep slots on consumers also use this to track which upstreams have terminated (R1.3.4 / Lock 2.B).
Error carries a HandleId resolving to the error value. Refcount is
retained when the variant is stored in a node’s terminal slot or any
consumer’s dep_terminals slot; v1 does not release these (terminal
state is one-shot at this layer; release happens on resubscribable
terminal-lifecycle reset, a separate slice).
Variants§
Trait Implementations§
Source§impl Clone for TerminalKind
impl Clone for TerminalKind
Source§fn clone(&self) -> TerminalKind
fn clone(&self) -> TerminalKind
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 TerminalKind
impl Debug for TerminalKind
Source§impl PartialEq for TerminalKind
impl PartialEq for TerminalKind
Source§fn eq(&self, other: &TerminalKind) -> bool
fn eq(&self, other: &TerminalKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TerminalKind
impl Eq for TerminalKind
impl StructuralPartialEq for TerminalKind
Auto Trait Implementations§
impl Freeze for TerminalKind
impl RefUnwindSafe for TerminalKind
impl Send for TerminalKind
impl Sync for TerminalKind
impl Unpin for TerminalKind
impl UnsafeUnpin for TerminalKind
impl UnwindSafe for TerminalKind
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.