Skip to main content

ferroui_dynamic_data/kernel/
connection_status.rs

1//! `ConnectionStatus` (`Kernel/ConnectionStatus.cs`).
2
3/// The state of the connection to a sequence (`ConnectionStatus`), as `MonitorStatus` reports it.
4#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash, PartialOrd, Ord)]
5pub enum ConnectionStatus {
6    /// No value yet (`Pending`).
7    #[default]
8    Pending = 0,
9    /// A value has arrived (`Loaded`).
10    Loaded = 1,
11    /// The sequence has failed (`Errored`).
12    Errored = 2,
13    /// The sequence has ended (`Completed`).
14    Completed = 3,
15}