pub struct HealthStatus {Show 13 fields
pub phase: BootPhase,
pub phase_name: String,
pub is_ready: bool,
pub is_alive: bool,
pub is_booting: bool,
pub progress_percent: u8,
pub progress_message: String,
pub phase_elapsed_ms: u64,
pub total_elapsed_ms: u64,
pub remaining_budget_ms: u64,
pub failure_reason: Option<String>,
pub wal_records_replayed: u64,
pub wal_bytes_processed: u64,
}Expand description
Health status for probes and observability
Fields§
§phase: BootPhase§phase_name: String§is_ready: bool§is_alive: bool§is_booting: bool§progress_percent: u8§progress_message: String§phase_elapsed_ms: u64§total_elapsed_ms: u64§remaining_budget_ms: u64§failure_reason: Option<String>§wal_records_replayed: u64§wal_bytes_processed: u64Implementations§
Trait Implementations§
Source§impl Clone for HealthStatus
impl Clone for HealthStatus
Source§fn clone(&self) -> HealthStatus
fn clone(&self) -> HealthStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HealthStatus
impl RefUnwindSafe for HealthStatus
impl Send for HealthStatus
impl Sync for HealthStatus
impl Unpin for HealthStatus
impl UnsafeUnpin for HealthStatus
impl UnwindSafe for HealthStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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