vaultrs::api

Function exec_with_result

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

Executes an Endpoint and returns the result.

The result from the executed endpoint has a few operations performed on it: