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