pub fn parse_list(value: &[u8]) -> Result<List<'_>, ParseError>Expand description
Parses a List with the default Limits (RFC 9651 section 4.2.1).
§Errors
As parse_item, and ErrorKind::TrailingSeparator (a, b,),
ErrorKind::ExpectedSeparator, ErrorKind::TooManyMembers.
§Examples
assert_eq!(parse_net::sfv::parse_list(b"a, b,").unwrap_err().kind(), parse_net::ErrorKind::TrailingSeparator);