From: Matt Corallo Date: Sun, 14 Apr 2024 17:17:04 +0000 (+0000) Subject: Derive `Clone` for `ProofBuilder` X-Git-Tag: v0.5.4~21 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=ee187c6a369aeaff2f65c58f579d4df24e1a7c85;p=dnssec-prover Derive `Clone` for `ProofBuilder` --- diff --git a/src/query.rs b/src/query.rs index 1e02e2b..bb72402 100644 --- a/src/query.rs +++ b/src/query.rs @@ -207,6 +207,7 @@ const MAX_REQUESTS: usize = 10; /// make a query to `https://doh-server/endpoint?dns=base64url_encoded_query` with an `Accept` /// header of `application/dns-message`. Each response, in raw binary, can be fed directly into /// [`ProofBuilder::process_response`]. +#[derive(Clone)] pub struct ProofBuilder { proof: Vec, min_ttl: u32,