Enum trust_dns::serialize::txt::Token
[−]
[src]
pub enum Token { Blank, List(Vec<String>), CharData(String), At, Include, Origin, Ttl, EOL, }
Tokens emited from each Lexer pass
Variants
Blank
only if the first part of the line
List(Vec<String>)
(..) TODO, this is probably wrong, List maybe should just skip line endings
CharData(String)
[a-zA-Z, non-control utf8, ., -, 0-9]+, ".*"
At
@
Include
$INCLUDE
Origin
$ORIGIN
Ttl
$TTL
EOL
\n or \r\n
Trait Implementations
impl PartialEq for Token
[src]
fn eq(&self, __arg_0: &Token) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Token) -> bool
[src]
This method tests for !=
.
impl Debug for Token
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more