Lines Matching refs:time
336 impl From<::core::time::Duration> for Duration {
337 fn from(other: ::core::time::Duration) -> Duration { in from()
342 impl From<Duration> for ::core::time::Duration {
344 ::core::time::Duration::from_micros(val.total_micros()) in from()
349 impl From<smoltcp::time::Instant> for Instant {
350 fn from(val: smoltcp::time::Instant) -> Self { in from()
355 impl Into<smoltcp::time::Instant> for Instant {
356 fn into(self) -> smoltcp::time::Instant { in into()
357 smoltcp::time::Instant::from_millis(self.millis()) in into()
362 impl From<smoltcp::time::Duration> for Duration {
363 fn from(val: smoltcp::time::Duration) -> Self { in from()
368 impl Into<smoltcp::time::Duration> for Duration {
369 fn into(self) -> smoltcp::time::Duration { in into()
370 smoltcp::time::Duration::from_millis(self.millis()) in into()