is_broken_pipe

Function is_broken_pipe 

Source
fn is_broken_pipe(error: &Error) -> bool
Expand description

Whether an error is really “the reader hung up”.

The tap writes through SessionLink, so a closed sink can also surface wrapped in a UlcpError that otherwise looks like the link itself failed.