pub async fn download_to_vec(
    name: &str,
    retry: &Retry,
    object_service: &Object
) -> Result<(Vec<u8>, String)>
Expand description

Download an object to a Vec and return that. If the object is unexpectedly large, this may exhaust system memory and panic. Returns (data, content_type)