Skip to main content

AddHealthCheckExt

Trait AddHealthCheckExt 

Source
pub trait AddHealthCheckExt {
    // Required method
    fn add_health_check<T>(
        &mut self,
        health_check: impl Into<Arc<T>>,
    ) -> &mut Self
       where T: HealthCheck + 'static;
}

Required Methods§

Source

fn add_health_check<T>(&mut self, health_check: impl Into<Arc<T>>) -> &mut Self
where 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 AddHealthCheckExt for AppBuilder

Source§

fn add_health_check<T>(&mut self, health_check: impl Into<Arc<T>>) -> &mut Self
where T: HealthCheck + 'static,

Implementors§