Skip to content

status

Enums

  • State - Reported state of a runtime component or per-run sidecar.

Enum

Reported state of a runtime component or per-run sidecar.

Variants:

  • Running - Pidfile present, process alive, listen endpoint accepting connections.
  • Unhealthy - Pidfile present, process alive, but the listen endpoint is closed.
  • Stopped - No pidfile, or the recorded pid no longer exists.
  • Unknown - Pidfile present but liveness or endpoint probe could not be performed

Traits: Eq, Copy

Trait Implementations:

  • Serialize
    • fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>
  • PartialEq
    • fn eq(self: &Self, other: &State) -> bool
  • Clone
    • fn clone(self: &Self) -> State
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result