Skip to main content

ZoneLookup

Trait ZoneLookup 

Source
pub trait ZoneLookup {
    // Required method
    fn zone(&self, name: &str) -> Option<Arc<dyn TimeZone + Send + Sync>>;
}
Expand description

The zones that a name in the input can give, as pg_tzset finds them. The name is in lower case, as the input has it.

Required Methods§

Source

fn zone(&self, name: &str) -> Option<Arc<dyn TimeZone + Send + Sync>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§