pub type Replier = Endpoint<Rep>;Expand description
The replying half of Req/Rep.
Aliased Type§
pub struct Replier { /* private fields */ }Implementations§
Source§impl Replier
impl Replier
Sourcepub async fn accept(&self) -> Result<IncomingRequest, Error>
pub async fn accept(&self) -> Result<IncomingRequest, Error>
Waits for the next request.
Requests queue up to Limits::endpoint_queue; beyond that the sending
side blocks, which propagates backpressure to the peer through QUIC flow
control rather than growing an unbounded queue (master doc §50).