Skip to main content

parse

Function parse 

Source
pub fn parse(spec: &str) -> Result<Directive<String>, ParseError>
Expand description

Parse a directive with the open-set String action vocabulary.

ยงErrors

Returns ParseError if the string is malformed (see its variants).