Open brandonpike opened 3 weeks ago
Instead of returning ErrorKind::ConnectionRefused for all deliver failures, this commit makes the following differentiations:
ErrorKind::ConnectionRefused
ErrorKind::Other("host unreachable")
We use ErrorKind::Other in this commit while ErrorKind::HostUnreachable is pending stabilization. (https://github.com/rust-lang/rust/issues/86442). Note: stabilization is scheduled for 1.83.0 on November 28, 2024
ErrorKind::Other
ErrorKind::HostUnreachable
Fixes #169
Instead of returning
ErrorKind::ConnectionRefused
for all deliver failures, this commit makes the following differentiations:ErrorKind::Other("host unreachable")
ErrorKind::Other("host unreachable")
We use
ErrorKind::Other
in this commit whileErrorKind::HostUnreachable
is pending stabilization. (https://github.com/rust-lang/rust/issues/86442). Note: stabilization is scheduled for 1.83.0 on November 28, 2024Fixes #169