Function actix_web::cookie::time::format_description::parse

pub fn parse(
    s: &str
) -> Result<Vec<BorrowedFormatItem<'_>>, InvalidFormatDescription>
Available on crate feature cookies and (crate features formatting or parsing) only.
Expand description

Parse a sequence of items from the format description.

The syntax for the format description can be found in the book.

This function exists for backward compatibility reasons. It is equivalent to calling parse_borrowed::<1>(s). In the future, this function will be deprecated in favor of parse_borrowed.