Function diem_vault_client::process_generic_response
source · pub fn process_generic_response(resp: Response) -> Result<(), Error>
Expand description
Processes a generic response returned by a vault request. This function simply just checks that the response was not an error and calls response.into_string() to clear the ureq stream.