Skip to main content

HeartbeatTimeoutHandler

Trait HeartbeatTimeoutHandler 

Source
pub trait HeartbeatTimeoutHandler:
    Send
    + Sync
    + 'static {
    // Required method
    fn on_timeout(&self);
}
Expand description

Called by the receiver watchdog when no heartbeat request has arrived within the timeout window.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§