Docs.rs
pingora-timeout-0.4.0
pingora-timeout 0.4.0
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
eaufavor
Dependencies
once_cell ^1
normal
parking_lot ^0.12
normal
pin-project-lite ^0.2
normal
thread_local ^1.0
normal
tokio ^1
normal
bencher ^0.1.5
dev
Versions
90.91%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
pingora_
timeout
0.4.0
In pingora_
timeout::
fast_
timeout
pingora_timeout
::
fast_timeout
Function
fast_sleep
Copy item path
Source
pub async fn fast_sleep(duration:
Duration
)
Expand description
Similar to
tokio::time::sleep
but more efficient.