Searched refs:Instant (Results 1 – 2 of 2) sorted by relevance
68 pub struct Instant { struct73 impl Instant { implementation74 pub const ZERO: Instant = Instant::from_micros_const(0);77 pub fn from_micros<T: Into<i64>>(micros: T) -> Instant { in from_micros() argument78 Instant { in from_micros()83 pub const fn from_micros_const(micros: i64) -> Instant { in from_micros_const() argument84 Instant { micros } in from_micros_const()88 pub fn from_millis<T: Into<i64>>(millis: T) -> Instant { in from_millis() argument89 Instant { in from_millis()95 pub const fn from_millis_const(millis: i64) -> Instant { in from_millis_const() argument[all …]
17 time::Instant,148 _timestamp: smoltcp::time::Instant, in receive() argument160 fn transmit(&mut self, _timestamp: smoltcp::time::Instant) -> Option<Self::TxToken<'_>> { in transmit()282 let timestamp: smoltcp::time::Instant = Instant::now().into(); in poll()