Skip to main content

unanswerable

Function unanswerable 

Source
pub fn unanswerable<T>() -> Sender<T>
Expand description

A reply channel for a command that carries none.

A command off the socket has no channel to answer down - its reply is a socket message instead - so the handler is given this rather than being made to ask: sending into it reports the closed channel it is, which every call site already discards.