pub struct health_check;Expand description
Health check endpoint
Returns system health status. No authentication required.
Also carries this instance’s fingerprint: instance_id, a UUID drawn once
at boot, and started_at, a Unix timestamp. Two calls that return
different values mean the server restarted in between — which lets a test
campaign tell an interrupted run from a real regression (#880).
The fingerprint discloses no secret and no host path: answering “is this the same process?” needs nothing more than a value that changes when the process does.
Trait Implementations§
Source§impl Path for health_check
impl Path for health_check
Source§impl SchemaReferences for health_check
impl SchemaReferences for health_check
Source§impl<'t> Tags<'t> for health_check
impl<'t> Tags<'t> for health_check
Auto Trait Implementations§
impl Freeze for health_check
impl RefUnwindSafe for health_check
impl Send for health_check
impl Sync for health_check
impl Unpin for health_check
impl UnsafeUnpin for health_check
impl UnwindSafe for health_check
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Fake for T
impl<T> Fake for T
§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 moreCreates a shared type from an unshared type.