Struct network::protocols::health_checker::HealthChecker [−][src]
pub struct HealthChecker { /* fields omitted */ }Expand description
The actor performing health checks by running the Ping protocol
Implementations
pub fn new(
network_context: NetworkContext,
time_service: TimeService,
network_interface: HealthCheckNetworkInterface,
ping_interval: Duration,
ping_timeout: Duration,
ping_failures_tolerated: u64
) -> Self
pub fn new(
network_context: NetworkContext,
time_service: TimeService,
network_interface: HealthCheckNetworkInterface,
ping_interval: Duration,
ping_timeout: Duration,
ping_failures_tolerated: u64
) -> Self
Create new instance of the HealthChecker actor.
Auto Trait Implementations
impl !RefUnwindSafe for HealthChecker
impl Send for HealthChecker
impl Sync for HealthChecker
impl Unpin for HealthChecker
impl !UnwindSafe for HealthChecker
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self