Skip to main content

parse

Function parse 

Source
pub fn parse(input: &str) -> Result<RawPolicy>
Expand description

Parse a raw YAML string into a RawPolicy.

ยงErrors

Returns crate::Error::Yaml if the input is not valid YAML or cannot be deserialized into RawPolicy.