Skip to main content

ldap_schema_parser

Function ldap_schema_parser 

Source
pub fn ldap_schema_parser<'src>(
    tag_descriptors: &'src [LDAPSchemaTagDescriptor],
) -> impl Parser<'src, &'src str, (ObjectIdentifier, Vec<LDAPSchemaTag>), Err<Rich<'src, char>>> + 'src
Expand description

this parses an LDAP schema entry described by its parameter

the tags can be in any order

this function only parses the tags, it does not check if required tags exist in the output

ยงPanics

This panics when the tag_descriptors parameter is empty