Enum parse_zoneinfo::table::Error [] [src]

pub enum Error<'line> {
    SurpriseContinuationLine,
    UnknownRuleset(&'line str),
    DuplicateLink(&'line str),
    DuplicateZone,
}

Something that can go wrong while constructing a Table.

Variants

A continuation line was passed in, but the previous line wasn’t a zone definition line.

A zone definition referred to a ruleset that hadn’t been defined.

A link line was passed in, but there’s already a link with that name.

A zone line was passed in, but there’s already a zone with that name.

Trait Implementations

impl<'line> PartialEq for Error<'line>
[src]

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

This method tests for !=.

impl<'line> Debug for Error<'line>
[src]

Formats the value using the given formatter.

impl<'line> Copy for Error<'line>
[src]

impl<'line> Clone for Error<'line>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'line> Display for Error<'line>
[src]

Formats the value using the given formatter. Read more

impl<'line> ErrorTrait for Error<'line>
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more