pub fn download_analysis_result(
analysis_url: &str,
client: &Client,
) -> Result<AnalysisResult, Box<dyn Error>>Expand description
Downloads and deserializes the analysis result from the presigned URL.
§Arguments
analysis_url- The presigned URL returned byget_analyze_statuswhen ready.client- A preconfiguredreqwest::blocking::Client.
§Returns
An AnalysisResult containing metadata about the uploaded binary.
§Errors
Returns an error if the download fails, the server responds with a non-success status, or deserialization fails.