pub struct SystemHealth {
pub status: String,
pub uptime_secs: u64,
pub database: SubsystemHealth,
pub hsm: Option<SubsystemHealth>,
pub ca_count: usize,
pub healthy_ca_count: usize,
pub version: String,
}Expand description
Overall system health status.
Fields§
§status: StringOverall status: “healthy”, “degraded”, or “unhealthy”.
uptime_secs: u64Server uptime in seconds.
database: SubsystemHealthDatabase health.
hsm: Option<SubsystemHealth>HSM health (if configured).
ca_count: usizeNumber of configured CAs.
healthy_ca_count: usizeNumber of healthy CAs.
version: StringServer version.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SystemHealth
impl RefUnwindSafe for SystemHealth
impl Send for SystemHealth
impl Sync for SystemHealth
impl Unpin for SystemHealth
impl UnsafeUnpin for SystemHealth
impl UnwindSafe for SystemHealth
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more