pub trait AsSecs {
    fn as_secs(&self) -> u64;
}
Expand description

To implement a fancier duration, just have your duration return the number of seconds as a part of the following method call.

Required Methods

Implementations on Foreign Types

Implementors