Trait zng_layout::unit::TimeUnits
source · pub trait TimeUnits {
// Required methods
fn ms(self) -> Duration;
fn secs(self) -> Duration;
fn minutes(self) -> Duration;
fn hours(self) -> Duration;
}
Expand description
Extension methods for initializing Duration
values.