Home
last modified time | relevance | path

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

/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/
Dsocket.rs123 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()
Dstream.rs170 pub fn linger(&self) -> io::Result<Option<Duration>> { in linger()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/tcp/
Dsocket.rs102 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()
Dstream.rs133 pub fn linger(&self) -> io::Result<Option<Duration>> { in linger()
/commonlibrary/rust/ylong_runtime/ylong_runtime/examples/
Dylong_runtime_signal.rs29 fn print_time(duration: Duration) { in print_time()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/dns/
Dhappy_eyeballs.rs100 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/
Dtimeout.rs44 pub fn timeout<F>(duration: Duration, future: F) -> Timeout<F> in timeout()
Ddriver.rs89 pub(crate) fn run(&self) -> Option<Duration> { in run()
Dtimer.rs164 pub fn period(&self) -> Duration { in period()
Dwheel.rs137 Duration(Duration), enumerator
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
Diocp.rs61 timeout: Option<Duration>, in get_results()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
Dparker.rs123 fn park_on_condvar_timeout(&self, duration: Option<Duration>) { in park_on_condvar_timeout()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/config/
Dsettings.rs211 pub(crate) fn inner(&self) -> Option<Duration> { in inner()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
Dstream.rs405 pub fn linger(&self) -> io::Result<Option<Duration>> { in linger()