pub enum NodeStatus {
Ok,
InProgress,
Pending,
Failed,
Custom {
glyph: String,
color: Option<String>,
},
}Expand description
Status badge rendered next to a node. Custom lets callers add
domain-specific badges without bloating this enum.
Variants§
Ok
Built / converged / done — green ✓
InProgress
Currently running — cyan →
Pending
Not started yet — dim ⏵
Failed
Errored — red ✗
Custom
Custom badge text + optional color name ("yellow", "magenta", …).
Trait Implementations§
Source§impl Clone for NodeStatus
impl Clone for NodeStatus
Source§impl Debug for NodeStatus
impl Debug for NodeStatus
impl Eq for NodeStatus
Source§impl PartialEq for NodeStatus
impl PartialEq for NodeStatus
impl StructuralPartialEq for NodeStatus
Auto Trait Implementations§
impl Freeze for NodeStatus
impl RefUnwindSafe for NodeStatus
impl Send for NodeStatus
impl Sync for NodeStatus
impl Unpin for NodeStatus
impl UnsafeUnpin for NodeStatus
impl UnwindSafe for NodeStatus
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.