Home
last modified time | relevance | path

Searched defs:Instant (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/time/
Dmod.rs68 pub struct Instant { struct
73 impl Instant { impl
77 pub fn from_micros<T: Into<i64>>(micros: T) -> Instant { in from_micros()
83 pub const fn from_micros_const(micros: i64) -> Instant { in from_micros_const()
88 pub fn from_millis<T: Into<i64>>(millis: T) -> Instant { in from_millis()
95 pub const fn from_millis_const(millis: i64) -> Instant { in from_millis_const()
102 pub fn from_secs<T: Into<i64>>(secs: T) -> Instant { in from_secs()
143 impl fmt::Display for Instant { implementation
149 impl ops::Add<Duration> for Instant { implementation
152 fn add(self, rhs: Duration) -> Instant { in add()
[all …]
/DragonOS-0.1.8/kernel/src/driver/net/
Dvirtio_net.rs148 _timestamp: smoltcp::time::Instant, in receive()