Skip to main content

Module error

Module error 

Source

Enums§

ClientError

Functions§

broken_pipe
Convert an mpsc send error (or any displayable error) into a ClientError::Io(BrokenPipe). This is the standard pattern when the daemon connection drops and we need to propagate the error through client_tx.send(...).map_err(broken_pipe)?.