pub fn receive_from_daemon<O: Write>(
daemon_addr: &str,
output: &mut O,
opts: &ReceiveOptions,
) -> Result<(), AppError>Expand description
Connect to a daemon, subscribe to its command tap, and stream to output.
With reconnect enabled, transient connect/read failures and clean daemon
disconnects retry after backoff. Authentication rejection is terminal.
ยงErrors
Returns an error on authentication rejection, a terminal connection/session failure, or output failure.