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