RetrieveWithRequest

Trait RetrieveWithRequest 

Source
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§

Source

fn retrieve( &self, req: &TRequest, ) -> impl Future<Output = Result<TResponse>> + Send

Retrieve items from CDF with a more complex request.

§Arguments
  • req - Request describing items to retrieve.

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.

Implementors§