Skip to main content

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>> + CondSend { ... } }
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>> + CondSend

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".

Implementors§