Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HFQR/xitca-web
/ timeout
Method
timeout
http/src/util/timer.rs:17–19 ·
view source on GitHub ↗
(self, timer: Pin<&mut KeepAlive>)
Source
from the content-addressed store, hash-verified
15
F: Future,
16
{
17
fn timeout(self, timer: Pin<&mut KeepAlive>) -> TimeoutFuture<'_, Self> {
18
TimeoutFuture { fut: self, timer }
19
}
20
}
21
22
pin_project! {
Callers
7
dispatch
Method · 0.45
call
Method · 0.45
lingering_read
Function · 0.45
handshake
Function · 0.45
call
Method · 0.45
run
Method · 0.45
call
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected