Function milliseconds

Source
pub fn milliseconds(milliseconds: u64) -> Duration
Expand description

Creates a Duration representing the given amount of milliseconds.