pub struct HealthCheckService { /* private fields */ }Implementations§
Source§impl HealthCheckService
impl HealthCheckService
pub fn register_check<H: HealthCheck + 'static>(&mut self, check: H)
pub fn check_service_health( &mut self, _: &mut Request<'_, '_>, ) -> IronResult<Response>
pub fn execute( &mut self, ) -> (HealthCheckStatus, HashMap<String, HealthCheckStatus>)
Trait Implementations§
Source§impl Default for HealthCheckService
impl Default for HealthCheckService
Source§fn default() -> HealthCheckService
fn default() -> HealthCheckService
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HealthCheckService
impl !RefUnwindSafe for HealthCheckService
impl Send for HealthCheckService
impl !Sync for HealthCheckService
impl Unpin for HealthCheckService
impl !UnwindSafe for HealthCheckService
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