pub trait FromDuration {
    fn from_duration(duration: Duration) -> Self;
}
Expand description

A trait for types that can be created from a Duration

Required Methods

Create the value from a Duration

Implementations on Foreign Types

Implementors