Skip to main content

FreedomTime

Trait FreedomTime 

Source
pub trait FreedomTime {
    // Required method
    fn freedomstamp(&self) -> u64;
}
Expand description

FreedomTime is aware of the Birthday of Freedom (July 4, ’76).

Required Methods§

Source

fn freedomstamp(&self) -> u64

Number of whole seconds since the Birthday of Freedom.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§