[][src]Enum sunrise_libtimezone::TimeZoneError

pub enum TimeZoneError {
    OutOfRange,
    TimeNotFound,
    InvalidSize,
    InvalidData,
    InvalidTypeCount,
    InvalidTimeComparison,
    Overflow,
    Unknown,
}

Represent a time zone error.

Variants

OutOfRange

The time values got out of range internally (usually an overflow was catched)

TimeNotFound

The given calendar timestamp couldn't be computed.

InvalidSize

The given Tzif file couldn't be stored to a TimeZoneRule because it's too big.

InvalidData

Some data inside the Tzif file are invalid.

InvalidTypeCount

Some data inside the Tzif file are invalid (type processing failed).

InvalidTimeComparison

An invalid time comparaison occured (is the time in range of the rules?)

Overflow

Signed overflow/underflow happened.

Unknown

Unknown.

Trait Implementations

impl Debug for TimeZoneError[src]

Auto Trait Implementations

impl Send for TimeZoneError

impl Sync for TimeZoneError

impl Unpin for TimeZoneError

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, 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.