Make QuicClientStream Clonable

This commit is contained in:
0xffffharry 2024-03-31 11:26:37 +00:00 committed by Dirkjan Ochtman
parent f1ced8a958
commit 6c2a1e2c23

View File

@ -31,6 +31,7 @@ use super::{quic_config, quic_stream};
/// A DNS client connection for DNS-over-QUIC
#[must_use = "futures do nothing unless polled"]
#[derive(Clone)]
pub struct QuicClientStream {
quic_connection: Connection,
name_server_name: Arc<str>,