pub fn parse_rules_list(value: &str) -> Result<Vec<RulesEntry>, RulesListError>Expand description
Embedding hosts build entries directly or parse the same list value the command line accepts. Embedding hosts build entries directly or parse the same list value the command line accepts. Embedding hosts build entries directly or parse the same list value the command line accepts. Parses a rules-list value into its ordered entries.
A value without , or a trailing ? yields one required entry holding the whole value.
ยงErrors
RulesListError::Empty for an empty value, RulesListError::EmptyEntry for an entry without a path, and
RulesListError::DuplicatePath when two entries name the same path.