Trait UtcOffsetExt

Source
pub trait UtcOffsetExt {
    // Required method
    fn cached_local_offset() -> UtcOffset;
}

Required Methods§

Source

fn cached_local_offset() -> UtcOffset

Cached result of time::UtcOffset::current_local_offset.

§Panics

Panics if crate::init has not been called with a succesful return value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl UtcOffsetExt for UtcOffset

Implementors§