MCPcopy 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
22pin_project! {

Callers 7

dispatchMethod · 0.45
callMethod · 0.45
lingering_readFunction · 0.45
handshakeFunction · 0.45
callMethod · 0.45
runMethod · 0.45
callMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected