pub trait Healthcheck {
    // Required method
    fn is_alive(&mut self) -> Result<bool>;
}
Expand description

Healthcheck represents a check by which we can determine if a spawned process is still alive.

Required Methods§

source

fn is_alive(&mut self) -> Result<bool>

The function returns a status of a process if it still alive and it can operate.

Implementors§