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