From ee187c6a369aeaff2f65c58f579d4df24e1a7c85 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 14 Apr 2024 17:17:04 +0000 Subject: [PATCH] Derive `Clone` for `ProofBuilder` --- src/query.rs | 1 + 1 file changed, 1 insertion(+) 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, -- 2.39.5