Skip to main content

ProductProxyInterface

Trait ProductProxyInterface 

Source
pub trait ProductProxyInterface: Send + Sync {
    type GetInfoResponseFut: Future<Output = Result<ProductInfo, Error>> + Send;

    // Required method
    fn get_info(&self) -> Self::GetInfoResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§