Skip to main content

parse_s3_buckets

Function parse_s3_buckets 

Source
pub fn parse_s3_buckets(body: &str) -> Result<Vec<String>, String>
Expand description

Bucket names from an S3 ListBuckets response. A custom endpoint may be hostile, so quick-xml parses it with a depth cap no legitimate response reaches.