Skip to main content

PeerGone

Type Alias PeerGone 

Source
pub type PeerGone = Pin<Box<dyn Future<Output = ()> + Send + Sync + 'static>>;
Expand description

A future that resolves when the peer abandons a single HTTP/3 stream.

HTTP/3 has no connection driver inside trillium-http — QUIC stream resets, STOP_SENDING, and connection loss are all invisible at the AsyncRead + AsyncWrite seam the h3 code is written against. The runtime adapter supplies this future at stream accept, the same way it supplies the stream-reset closure.

Aliased Type§

#[repr(transparent)]
pub struct PeerGone { /* private fields */ }