Searched defs:Duration (Results 1 – 3 of 3) sorted by relevance
128 impl From<PosixTimeSpec> for Duration { implementation290 fn add_assign(&mut self, rhs: Duration) { in add_assign()304 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()312 fn sub(self, rhs: Instant) -> Duration { in sub()319 pub struct Duration { struct323 impl Duration { impl326 pub const fn from_micros(micros: u64) -> Duration { in from_micros()331 pub const fn from_millis(millis: u64) -> Duration { in from_millis()338 pub const fn from_secs(secs: u64) -> Duration { in from_secs()370 impl fmt::Display for Duration { implementation[all …]
53 impl From<Jiffies> for Duration { implementation
78 pub fn remain(&self) -> Duration { in remain()