pub struct ServiceSnapshot {Show 14 fields
pub name: String,
pub health: ServiceHealth,
pub dependencies: Vec<String>,
pub dependency_requirements: Vec<String>,
pub activation: ServiceActivationState,
pub enabled: bool,
pub configured: bool,
pub running: bool,
pub runtime_state: ServiceRuntimeState,
pub restart_state: RestartState,
pub restart_count: u64,
pub operator_required: bool,
pub quarantined: bool,
pub critical: bool,
}Expand description
Immutable diagnostic snapshot for one managed service.
Fields§
§name: StringStable service identifier.
health: ServiceHealthCurrent supervisor health.
dependencies: Vec<String>Required service dependency identifiers.
dependency_requirements: Vec<String>Human-readable dependency requirements in matching order.
activation: ServiceActivationStateInstallation activation state.
enabled: boolWhether lifecycle actions are enabled.
configured: boolWhether deployment configuration exists.
running: boolWhether the service may currently own its resource.
runtime_state: ServiceRuntimeStateConcrete execution state.
restart_state: RestartStateCurrent restart state.
restart_count: u64Total restarts scheduled since supervisor creation.
operator_required: boolWhether an operator must explicitly recover the service.
quarantined: boolWhether automatic lifecycle actions are disabled.
critical: boolWhether this service affects overall Runtime health.
Trait Implementations§
Source§impl Clone for ServiceSnapshot
impl Clone for ServiceSnapshot
Source§fn clone(&self) -> ServiceSnapshot
fn clone(&self) -> ServiceSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceSnapshot
impl Debug for ServiceSnapshot
impl Eq for ServiceSnapshot
Source§impl PartialEq for ServiceSnapshot
impl PartialEq for ServiceSnapshot
impl StructuralPartialEq for ServiceSnapshot
Auto Trait Implementations§
impl Freeze for ServiceSnapshot
impl RefUnwindSafe for ServiceSnapshot
impl Send for ServiceSnapshot
impl Sync for ServiceSnapshot
impl Unpin for ServiceSnapshot
impl UnsafeUnpin for ServiceSnapshot
impl UnwindSafe for ServiceSnapshot
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