pub trait RetrieveWithRequest<TRequest, TResponse>where
TRequest: Serialize + Sync + Send,
TResponse: Serialize + DeserializeOwned,
Self: WithApiClient + WithBasePath + Sync,{
// Provided method
fn retrieve(
&self,
req: &TRequest,
) -> impl Future<Output = Result<TResponse>> + Send { ... }
}Expand description
Trait for retrieving items from CDF with a more complex request type.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.