pub trait HealthLocalClientHandler<___T: Transport = DriverChannel> {
// Required method
fn on_health_alert(
&mut self,
request: Request<OnHealthAlert, ___T>,
) -> impl Future<Output = ()>;
// Provided method
fn on_unknown_interaction(
&mut self,
ordinal: u64,
) -> impl Future<Output = ()> { ... }
}Expand description
A client handler for the Health protocol.
See Health for more details.
Required Methods§
Sourcefn on_health_alert(
&mut self,
request: Request<OnHealthAlert, ___T>,
) -> impl Future<Output = ()>
fn on_health_alert( &mut self, request: Request<OnHealthAlert, ___T>, ) -> impl Future<Output = ()>
Proactively emitted by the driver when it detects an asynchronous self-fault or suspects an upstream/downstream neighbor.
Provided Methods§
fn on_unknown_interaction(&mut self, ordinal: u64) -> impl Future<Output = ()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".