pub trait ExtMilliSecond {
    fn ms(self) -> MilliSecond;
    fn s(self) -> Second;
    fn min(self) -> Minute;
    fn h(self) -> Hour;
    fn d(self) -> Day;
}
Expand description

Extension trait that adds convenience methods to the u32 and u64 type

Required Methods

Wrap in Second

Wrap in Minute

Wrap in Hour

Wrap in Day

Implementations on Foreign Types

Implementors