Enum hourglass::TzError [] [src]

pub enum TzError {
    IOError(Error),
    InvalidTzFile,
    InvalidPosixTz,
    UnsupportedTzFile,
}

Possible errors when creating a Timezone.

Variants

IOError(Error)InvalidTzFileInvalidPosixTzUnsupportedTzFile

Trait Implementations

impl Debug for TzError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Display for TzError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Error for TzError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

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

impl From<Error> for TzError
[src]

fn from(e: Error) -> Self

Performs the conversion.