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

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

Something that can go wrong while constructing a Table.

Variants

SurpriseContinuationLine

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

UnknownRuleset(&'line str)

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.

DuplicateZone

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

Trait Implementations

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'line> RefUnwindSafe for Error<'line>

impl<'line> Send for Error<'line>

impl<'line> Sync for Error<'line>

impl<'line> Unpin for Error<'line>

impl<'line> UnwindSafe for Error<'line>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.