rocket::mtls::x509::der_parser::asn1_rs::nom::character

Module streaming

Source
Available on crate feature mtls only.
Expand description

Character specific parsers and combinators, streaming version

Functions recognizing specific characters

Functions§

  • Recognizes zero or more lowercase and uppercase ASCII alphabetic characters: a-z, A-Z
  • Recognizes one or more lowercase and uppercase ASCII alphabetic characters: a-z, A-Z
  • Recognizes zero or more ASCII numerical and alphabetic characters: 0-9, a-z, A-Z
  • Recognizes one or more ASCII numerical and alphabetic characters: 0-9, a-z, A-Z
  • Matches one byte as a character. Note that the input type will accept a str, but not a &[u8], unlike many other nom parsers.
  • Recognizes one character.
  • Recognizes the string “\r\n”.
  • Recognizes zero or more ASCII numerical characters: 0-9
  • Recognizes one or more ASCII numerical characters: 0-9
  • Recognizes zero or more ASCII hexadecimal numerical characters: 0-9, A-F, a-f
  • Recognizes one or more ASCII hexadecimal numerical characters: 0-9, A-F, a-f
  • will parse a number in text form to a number
  • will parse a number in text form to a number
  • will parse a number in text form to a number
  • will parse a number in text form to a number
  • will parse a number in text form to a number
  • Recognizes an end of line (both ‘\n’ and ‘\r\n’).
  • Recognizes zero or more spaces, tabs, carriage returns and line feeds.
  • Recognizes one or more spaces, tabs, carriage returns and line feeds.
  • Matches a newline character ‘\n’.
  • Recognizes a character that is not in the provided characters.
  • Recognizes a string of any char except ‘\r\n’ or ‘\n’.
  • Recognizes zero or more octal characters: 0-7
  • Recognizes one or more octal characters: 0-7
  • Recognizes one of the provided characters.
  • Recognizes one character and checks that it satisfies a predicate
  • Recognizes zero or more spaces and tabs.
  • Recognizes one or more spaces and tabs.
  • Matches a tab character ‘\t’.
  • will parse a number in text form to a number
  • will parse a number in text form to a number
  • will parse a number in text form to a number
  • will parse a number in text form to a number
  • will parse a number in text form to a number