Skip to main content

Module txt

Module txt 

Expand description

Text serialization types

Structs§

Parser

Enums§

LexerError
The error kind for lexer errors that get returned in the crate
ParseError
The error kind for parse errors that get returned in the crate
Token
Tokens emited from each Lexer pass

Functions§

parse_ttl
parses the string following the rules from: https://tools.ietf.org/html/rfc2308 (NXCaching RFC) and https://www.zytrax.com/books/dns/apa/time.html

Type Aliases§

ParseResult
An alias for parse results returned by functions of this crate