Searched refs:Duration (Results 1 – 2 of 2) sorted by relevance
149 impl ops::Add<Duration> for Instant {152 fn add(self, rhs: Duration) -> Instant { in add()157 impl ops::AddAssign<Duration> for Instant {158 fn add_assign(&mut self, rhs: Duration) { in add_assign() argument163 impl ops::Sub<Duration> for Instant {166 fn sub(self, rhs: Duration) -> Instant { in sub()171 impl ops::SubAssign<Duration> for Instant {172 fn sub_assign(&mut self, rhs: Duration) { in sub_assign() argument178 type Output = Duration;180 fn sub(self, rhs: Instant) -> Duration { in sub() argument[all …]
53 dhcp_socket.set_max_lease_duration(Some(smoltcp::time::Duration::from_secs(10))); in dhcp_query()