pub trait InfoProxyInterface: Send + Sync {
type GetMetricsResponseFut: Future<Output = Result<Metrics, Error>> + Send;
// Required method
fn get_metrics(&self) -> Self::GetMetricsResponseFut;
}Required Associated Types§
Required Methods§
fn get_metrics(&self) -> Self::GetMetricsResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".