Make QuicClientStream Clonable
This commit is contained in:
parent
f1ced8a958
commit
6c2a1e2c23
|
@ -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>,
|
||||
|
|
Loading…
Reference in New Issue
Block a user