pub async fn download_artifact_to_vec(
    task_id: &str,
    run_id: Option<&str>,
    name: &str,
    retry: &Retry,
    queue_service: &Queue
) -> Result<(Vec<u8>, String)>
Expand description

Download an artifact to a Vec and return that. If the artifact is unexpectedly large, this may exhaust system memory and panic. If run_id is None then the latest run will be used. Returns (data, content_type).