section

Function section 

Source
fn section(input: &mut &str) -> ModalResult<Section>
Expand description

Parses a single %SECTION% block and returns a Section variant.

ยงErrors

Returns an error if:

  • the section name is invalid or not recognized,
  • the section body contains malformed values,
  • or the section does not terminate properly.