Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 14 of 14) sorted by relevance

/webrtc/turn/src/allocation/
H A Dpermission.rs39 let timer = tokio::time::sleep(lifetime); in start() localVariable
40 tokio::pin!(timer); in start()
45 _ = &mut timer => { in start()
54 timer.as_mut().reset(Instant::now() + d); in start()
H A Dchannel_bind.rs43 let timer = tokio::time::sleep(lifetime); in start() localVariable
44 tokio::pin!(timer); in start()
49 _ = &mut timer => { in start()
60 timer.as_mut().reset(Instant::now() + d); in start()
H A Dmod.rs275 let timer = tokio::time::sleep(lifetime); in start() localVariable
276 tokio::pin!(timer); in start()
281 _ = &mut timer => { in start()
292 timer.as_mut().reset(Instant::now() + d); in start()
/webrtc/sctp/src/timer/
H A Dack_timer.rs44 let timer = tokio::time::sleep(interval); in start() localVariable
45 tokio::pin!(timer); in start()
48 _ = timer.as_mut() => { in start()
H A Drtx_timer.rs159 let timer = tokio::time::sleep(Duration::from_millis(interval)); in start() localVariable
160 tokio::pin!(timer); in start()
163 _ = timer.as_mut() => { in start()
/webrtc/turn/src/client/
H A Dperiodic_timer.rs61 let timer = tokio::time::sleep(interval); in start() localVariable
62 tokio::pin!(timer); in start()
65 _ = timer.as_mut() => { in start()
H A Dtransaction.rs176 let timer = tokio::time::sleep(Duration::from_millis( in start_rtx_timer() localVariable
179 tokio::pin!(timer); in start_rtx_timer()
182 _ = timer.as_mut() => { in start_rtx_timer()
/webrtc/sctp/src/
H A Dlib.rs12 pub(crate) mod timer; module
/webrtc/util/src/conn/
H A Dconn_udp_listener_test.rs136 let timer = tokio::time::sleep(Duration::from_millis(10)); in test_listener_accept_filter() localVariable
137 tokio::pin!(timer); in test_listener_accept_filter()
142 _ = timer.as_mut() => { in test_listener_accept_filter()
/webrtc/data/src/data_channel/
H A Ddata_channel_test.rs74 let timer = tokio::time::sleep(Duration::from_millis(10)); in create_new_association_pair() localVariable
75 tokio::pin!(timer); in create_new_association_pair()
78 _ = timer.as_mut() =>{}, in create_new_association_pair()
138 let timer = tokio::time::sleep(Duration::from_millis(10)); in close_association_pair() localVariable
139 tokio::pin!(timer); in close_association_pair()
142 _ = timer.as_mut() =>{}, in close_association_pair()
/webrtc/sctp/src/association/
H A Dassociation_test.rs71 let timer = tokio::time::sleep(Duration::from_millis(10)); in create_new_association_pair() localVariable
72 tokio::pin!(timer); in create_new_association_pair()
75 _ = timer.as_mut() =>{}, in create_new_association_pair()
142 tokio::pin!(timer); in close_association_pair()
145 _ = timer.as_mut() =>{}, in close_association_pair()
1869 tokio::pin!(timer); in test_assoc_reset_close_one_way()
1872 _ = timer.as_mut() =>{}, in test_assoc_reset_close_one_way()
1971 tokio::pin!(timer); in test_assoc_reset_close_both_ways()
1974 _ = timer.as_mut() =>{}, in test_assoc_reset_close_both_ways()
2018 tokio::pin!(timer); in test_assoc_reset_close_both_ways()
[all …]
H A Dmod.rs36 use crate::timer::ack_timer::*;
37 use crate::timer::rtx_timer::*;
/webrtc/dtls/src/conn/
H A Dmod.rs398 let timer = tokio::time::sleep(d); in read() localVariable
399 tokio::pin!(timer); in read()
403 _ = timer.as_mut() => return Err(Error::ErrDeadlineExceeded), in read()
448 let timer = tokio::time::sleep(d); in write() localVariable
449 tokio::pin!(timer); in write()
455 _ = timer.as_mut() => return Err(Error::ErrDeadlineExceeded), in write()
H A Dconn_test.rs1894 let timer = tokio::time::sleep(Duration::from_millis(10)); in test_server_timeout() localVariable
1895 tokio::pin!(timer); in test_server_timeout()
1898 _ = timer.as_mut() => { in test_server_timeout()