pub enum ComponentState {
Disabled,
Starting,
Connected,
Disconnected,
Backoff,
Stopping,
Stopped,
Failed,
}Expand description
Where a daemon component (a channel account) is in its lifecycle.
Variants§
Disabled
Turned off in configuration.
Starting
Starting up.
Connected
Running and connected to its platform.
Disconnected
Running but not connected.
Backoff
Waiting before a restart after a failure.
Stopping
Shutting down.
Stopped
Not running.
Failed
Stopped after an error it cannot recover from, such as expired credentials.
Trait Implementations§
Source§impl Clone for ComponentState
impl Clone for ComponentState
Source§impl Debug for ComponentState
impl Debug for ComponentState
Source§impl<'de> Deserialize<'de> for ComponentState
impl<'de> Deserialize<'de> for ComponentState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ComponentState
Source§impl PartialEq for ComponentState
impl PartialEq for ComponentState
Source§impl Serialize for ComponentState
impl Serialize for ComponentState
impl StructuralPartialEq for ComponentState
Auto Trait Implementations§
impl Freeze for ComponentState
impl RefUnwindSafe for ComponentState
impl Send for ComponentState
impl Sync for ComponentState
impl Unpin for ComponentState
impl UnsafeUnpin for ComponentState
impl UnwindSafe for ComponentState
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