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