Skip to main content

answer_sink

Function answer_sink 

Source
pub fn answer_sink(done: impl FnOnce(Answer) + 'static) -> Sink
Expand description

FRAME-37: a sink that gathers a call’s stream and hands done its Answer once, when the stream ends (Done, a refusal, or the socket dropping under it). Nothing here sends anything: a call is sent once.