Skip to main content

AddHealthCheckServiceExt

Trait AddHealthCheckServiceExt 

Source
pub trait AddHealthCheckServiceExt {
    // Required methods
    fn add_health_check_service<T>(&mut self) -> &mut Self
       where T: Service<Handle = Arc<T>> + HealthCheck + 'static;
    fn has_health_check_service<T>(&self) -> bool
       where T: Service<Handle = Arc<T>> + HealthCheck + 'static;
}

Required Methods§

Source

fn add_health_check_service<T>(&mut self) -> &mut Self
where T: Service<Handle = Arc<T>> + HealthCheck + 'static,

Source

fn has_health_check_service<T>(&self) -> bool
where T: Service<Handle = Arc<T>> + HealthCheck + 'static,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl AddHealthCheckServiceExt for AppBuilder

Source§

fn add_health_check_service<T>(&mut self) -> &mut Self
where T: Service<Handle = Arc<T>> + HealthCheck + 'static,

Source§

fn has_health_check_service<T>(&self) -> bool
where T: Service<Handle = Arc<T>> + HealthCheck + 'static,

Implementors§