Home
last modified time | relevance | path

Searched defs:Duration (Results 1 – 10 of 10) sorted by relevance

/smoltcp-0.9.1/src/
Dtime.rs146 fn add_assign(&mut self, rhs: Duration) { in add_assign()
160 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
168 fn sub(self, rhs: Instant) -> Duration { in sub()
176 pub struct Duration { struct
180 impl Duration { implementation
183 pub const fn from_micros(micros: u64) -> Duration { in from_micros()
188 pub const fn from_millis(millis: u64) -> Duration { in from_millis()
195 pub const fn from_secs(secs: u64) -> Duration { in from_secs()
227 impl fmt::Display for Duration { implementation
233 impl ops::Add<Duration> for Duration { implementation
[all …]
/smoltcp-0.9.1/src/wire/
Dndisc.rs50 pub fn router_lifetime(&self) -> Duration { in router_lifetime()
57 pub fn reachable_time(&self) -> Duration { in reachable_time()
64 pub fn retrans_time(&self) -> Duration { in retrans_time()
131 pub fn set_router_lifetime(&mut self, value: Duration) { in set_router_lifetime()
138 pub fn set_reachable_time(&mut self, value: Duration) { in set_reachable_time()
145 pub fn set_retrans_time(&mut self, value: Duration) { in set_retrans_time()
Dndiscoption.rs253 pub fn valid_lifetime(&self) -> Duration { in valid_lifetime()
260 pub fn preferred_lifetime(&self) -> Duration { in preferred_lifetime()
336 pub fn set_valid_lifetime(&mut self, time: Duration) { in set_valid_lifetime()
343 pub fn set_preferred_lifetime(&mut self, time: Duration) { in set_preferred_lifetime()
Digmp.rs295 fn max_resp_code_to_duration(value: u8) -> Duration { in max_resp_code_to_duration()
/smoltcp-0.9.1/examples/
Dloopback.rs32 pub fn advance(&self, duration: Duration) { in advance()
58 pub fn advance(&self, duration: Duration) { in advance()
/smoltcp-0.9.1/src/socket/
Dtcp.rs130 fn retransmission_timeout(&self) -> Duration { in retransmission_timeout()
238 fn should_retransmit(&self, timestamp: Instant) -> Option<Duration> { in should_retransmit()
269 fn set_for_idle(&mut self, timestamp: Instant, interval: Option<Duration>) { in set_for_idle()
283 fn rewind_keep_alive(&mut self, timestamp: Instant, interval: Option<Duration>) { in rewind_keep_alive()
289 fn set_for_retransmit(&mut self, timestamp: Instant, delay: Duration) { in set_for_retransmit()
524 pub fn timeout(&self) -> Option<Duration> { in timeout()
531 pub fn ack_delay(&self) -> Option<Duration> { in ack_delay()
565 pub fn set_timeout(&mut self, duration: Option<Duration>) { in set_timeout()
572 pub fn set_ack_delay(&mut self, duration: Option<Duration>) { in set_ack_delay()
595 pub fn keep_alive(&self) -> Option<Duration> { in keep_alive()
[all …]
Ddhcpv4.rs226 pub fn max_lease_duration(&self) -> Option<Duration> { in max_lease_duration()
237 pub fn set_max_lease_duration(&mut self, max_lease_duration: Option<Duration>) { in set_max_lease_duration()
413 max_lease_duration: Option<Duration>, in parse_ack()
/smoltcp-0.9.1/src/phy/
Dfault_injector.rs148 pub fn bucket_interval(&self) -> Duration { in bucket_interval()
190 pub fn set_bucket_interval(&mut self, interval: Duration) { in set_bucket_interval()
/smoltcp-0.9.1/fuzz/fuzz_targets/
Dtcp_headers.rs29 pub fn advance(&self, duration: Duration) { in advance()
/smoltcp-0.9.1/src/iface/interface/
Dmod.rs708 pub fn reassembly_timeout(&self) -> Duration { in reassembly_timeout()
714 pub fn set_reassembly_timeout(&mut self, timeout: Duration) { in set_reassembly_timeout()
824 pub fn poll_delay(&mut self, timestamp: Instant, sockets: &SocketSet<'_>) -> Option<Duration> { in poll_delay()