pub enum IndicatorState {
On,
Off,
Connecting,
}Expand description
The three visual states of an Indicator.
Variants§
On
Connected / healthy — solid green dot with a subtle glow.
Off
Disconnected / error — red horizontal bar inside a ring.
Connecting
Transient / in-progress — amber ring only.
Trait Implementations§
Source§impl Clone for IndicatorState
impl Clone for IndicatorState
Source§fn clone(&self) -> IndicatorState
fn clone(&self) -> IndicatorState
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 IndicatorState
impl Debug for IndicatorState
Source§impl Hash for IndicatorState
impl Hash for IndicatorState
Source§impl PartialEq for IndicatorState
impl PartialEq for IndicatorState
impl Copy for IndicatorState
impl Eq for IndicatorState
impl StructuralPartialEq for IndicatorState
Auto Trait Implementations§
impl Freeze for IndicatorState
impl RefUnwindSafe for IndicatorState
impl Send for IndicatorState
impl Sync for IndicatorState
impl Unpin for IndicatorState
impl UnsafeUnpin for IndicatorState
impl UnwindSafe for IndicatorState
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