#[non_exhaustive]pub enum ApplicationPhase {
Starting,
Ready,
Draining,
Stopped,
}Expand description
Monotonic phase of one Rullst application process.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Starting
Startup is still in progress.
Ready
Startup finished; readiness still depends on every required component.
Draining
New application requests are rejected while accepted requests finish.
Stopped
The process lifecycle has ended.
Trait Implementations§
Source§impl Clone for ApplicationPhase
impl Clone for ApplicationPhase
impl Copy for ApplicationPhase
Source§impl Debug for ApplicationPhase
impl Debug for ApplicationPhase
Source§impl<'de> Deserialize<'de> for ApplicationPhase
impl<'de> Deserialize<'de> for ApplicationPhase
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 ApplicationPhase
Source§impl PartialEq for ApplicationPhase
impl PartialEq for ApplicationPhase
Source§impl Serialize for ApplicationPhase
impl Serialize for ApplicationPhase
impl StructuralPartialEq for ApplicationPhase
Auto Trait Implementations§
impl Freeze for ApplicationPhase
impl RefUnwindSafe for ApplicationPhase
impl Send for ApplicationPhase
impl Sync for ApplicationPhase
impl Unpin for ApplicationPhase
impl UnsafeUnpin for ApplicationPhase
impl UnwindSafe for ApplicationPhase
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