hickory-dns/crates
Daniel McCarney 2e84c1184b error: wrap io::Error in Arc for clone
`ProtoErrorKind` is `Clone`, but the `Io` variant holding `io:Error`
runs into trouble with this: since the error can't be cloned we have to
reconstruct it and this is a lossy process: resulting in a "simple"
`io::Error` that only holds the error type from the parent it was cloned
from. This loses important details like the underlying error
source/message.

This commit changes `ProtoErrorKind::Io` to hold `Arc<io::Error>>`
instead. This makes implementing `Clone` trivial - we clone the arc
- and no error information is lost.
2024-04-14 07:30:55 +02:00
..
async-std-resolver cleanup rust docs 2024-01-06 21:31:56 -05:00
client Fix a typo in crate description 2024-01-25 17:02:35 +01:00
proto error: wrap io::Error in Arc for clone 2024-04-14 07:30:55 +02:00
recursor cleanup rust docs 2024-01-06 21:31:56 -05:00
resolver Apply clippy suggestions from Rust 1.77 2024-03-22 08:33:27 -04:00
server Break when socket is unexpectedly shut down 2024-03-16 13:21:54 -04:00