vaultrs::api

Function exec_with_no_result

source
pub async fn exec_with_no_result<E>(
    client: &impl Client,
    endpoint: E,
) -> Result<E::Response, ClientError>
where E: Endpoint,
Expand description

Executes an Endpoint which is expected to return an unwrapped response.

Any errors which occur in execution are wrapped in a ClientError::RestClientError and propagated.