Enum domain::master::error::SyntaxError[][src]

pub enum SyntaxError {
    Expected(Vec<u8>),
    ExpectedNewline,
    ExpectedSpace,
    IllegalEscape,
    IllegalInteger,
    IllegalAddr(AddrParseError),
    IllegalName,
    IllegalString(Utf8Error),
    LongCharStr,
    LongLabel,
    LongName,
    LongGenericData,
    NestedParentheses,
    NoDefaultTtl,
    NoLastClass,
    NoLastOwner,
    NoOrigin,
    RelativeName,
    Unexpected(u8),
    UnexpectedEof,
    UnknownClass(Vec<u8>),
    UnknownProto(String),
    UnknownServ(String),
}

A syntax error happened while scanning master data.

Variants

Trait Implementations

impl Clone for SyntaxError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SyntaxError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SyntaxError
[src]

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

This method tests for !=.

impl From<ParseIntError> for SyntaxError
[src]

Performs the conversion.

impl From<AddrParseError> for SyntaxError
[src]

Performs the conversion.

impl From<Utf8Error> for SyntaxError
[src]

Performs the conversion.

impl From<FromStrError> for SyntaxError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SyntaxError

impl Sync for SyntaxError