Searched defs:Duration (Results 1 – 17 of 17) sorted by relevance
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/monitor/ |
| D | time_group.rs | 130 pub(crate) fn update_quic_duration(&mut self, duration: Option<Duration>) { in update_quic_duration() 142 pub(crate) fn update_tcp_duration(&mut self, duration: Option<Duration>) { in update_tcp_duration() 157 pub(crate) fn update_tls_duration(&mut self, duration: Option<Duration>) { in update_tls_duration() 169 pub(crate) fn update_dns_duration(&mut self, duration: Option<Duration>) { in update_dns_duration() 181 pub(crate) fn update_connection_duration(&mut self, duration: Option<Duration>) { in update_connection_duration() 229 pub fn tcp_duration(&self) -> Option<Duration> { in tcp_duration() 248 pub fn quic_duration(&self) -> Option<Duration> { in quic_duration() 266 pub fn tls_duration(&self) -> Option<Duration> { in tls_duration() 283 pub fn dns_duration(&self) -> Option<Duration> { in dns_duration() 299 pub fn transfer_duration(&self) -> Option<Duration> { in transfer_duration() [all …]
|
| /commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/ |
| D | socket.rs | 123 pub(crate) fn get_sock_linger(socket: RawSocket) -> io::Result<Option<Duration>> { in get_sock_linger() 160 fn from_linger(linger: LINGER) -> Option<Duration> { in from_linger()
|
| D | stream.rs | 170 pub fn linger(&self) -> io::Result<Option<Duration>> { in linger()
|
| /commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/ |
| D | socket.rs | 102 pub(crate) fn get_sock_linger(fd: Fd) -> io::Result<Option<Duration>> { in get_sock_linger() 131 fn from_linger(linger: linger) -> Option<Duration> { in from_linger()
|
| D | stream.rs | 133 pub fn linger(&self) -> io::Result<Option<Duration>> { in linger()
|
| /commonlibrary/rust/ylong_runtime/ylong_runtime/examples/ |
| D | ylong_runtime_signal.rs | 29 fn print_time(duration: Duration) { in print_time()
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/progress/ |
| D | rate_limit.rs | 141 pub(crate) fn set_min_speed(&mut self, rate: u64, period: Duration, interval: Duration) { in set_min_speed() 146 pub(crate) fn set_max_speed(&mut self, rate: u64, period: Duration) { in set_max_speed() 233 pub(crate) fn new(rate: u64, period: Duration, interval: Duration) -> SpeedLimit { in new()
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ |
| D | timeout.rs | 33 pub(crate) fn new(future: T, timeout: Duration, set_timeout: F) -> Self { in new()
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/dns/ |
| D | happy_eyeballs.rs | 100 pub(crate) fn new(timeout: Option<Duration>, delay: Option<Duration>) -> Self { in new() 236 timeout: Option<Duration>, in connect()
|
| /commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/ |
| D | timeout.rs | 44 pub fn timeout<F>(duration: Duration, future: F) -> Timeout<F> in timeout()
|
| D | driver.rs | 89 pub(crate) fn run(&self) -> Option<Duration> { in run()
|
| D | timer.rs | 164 pub fn period(&self) -> Duration { in period()
|
| D | wheel.rs | 137 Duration(Duration), enumerator
|
| /commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/ |
| D | iocp.rs | 61 timeout: Option<Duration>, in get_results()
|
| /commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/ |
| D | parker.rs | 123 fn park_on_condvar_timeout(&self, duration: Option<Duration>) { in park_on_condvar_timeout()
|
| /commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/ |
| D | settings.rs | 211 pub(crate) fn inner(&self) -> Option<Duration> { in inner()
|
| /commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/ |
| D | stream.rs | 405 pub fn linger(&self) -> io::Result<Option<Duration>> { in linger()
|