TzResult

Type Alias TzResult 

Source
pub type TzResult<T> = Result<T, TzError>;
Available on crate feature tz only.
Expand description

The result type for evaluating a specific timestamp against a time zone.

Errors occur primarily when the timestamp in question is for a time when the time zone did not exist.

Aliased Type§

pub enum TzResult<T> {
    Ok(T),
    Err(TzError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TzError)

Contains the error value