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

only if the first part of the line

(..) TODO, this is probably wrong, List maybe should just skip line endings

[a-zA-Z, non-control utf8, ., -, 0-9]+, ".*"

@

$INCLUDE

$ORIGIN

$TTL

\n or \r\n

Trait Implementations

impl PartialEq for Token
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Token
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Token
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Token

impl Sync for Token