vaultrs::api

Function exec_with_empty

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

Executes an Endpoint which is expected to return an empty HTTP response.

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