Skip to main content

parse_vultr_ranges

Function parse_vultr_ranges 

Source
pub fn parse_vultr_ranges(payload: &str) -> Result<ParsedRanges, PayloadError>
Expand description

The Vultr parser (fetch_vultr_ip_ranges): the subnets[] entries’ ip_prefix; an invalid prefix is skipped, not fatal.

§Errors

PayloadError when the body is not JSON (the reference catch-all).