pub struct ApplicationHealth { /* private fields */ }Expand description
Read-only process health observer backed by the application’s unique request-lifecycle state. It carries no request-admission authority.
Implementations§
Source§impl ApplicationHealth
impl ApplicationHealth
Sourcepub fn snapshot(&self) -> ApplicationHealthSnapshot
pub fn snapshot(&self) -> ApplicationHealthSnapshot
Reads phase, liveness and readiness from one atomic lifecycle value.
Trait Implementations§
Source§impl Clone for ApplicationHealth
impl Clone for ApplicationHealth
Source§fn clone(&self) -> ApplicationHealth
fn clone(&self) -> ApplicationHealth
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 moreAuto Trait Implementations§
impl Freeze for ApplicationHealth
impl RefUnwindSafe for ApplicationHealth
impl Send for ApplicationHealth
impl Sync for ApplicationHealth
impl Unpin for ApplicationHealth
impl UnsafeUnpin for ApplicationHealth
impl UnwindSafe for ApplicationHealth
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