Trait hickory_resolver::name_server::QuicSocketBinder

source ·
pub trait QuicSocketBinder {
    // Required method
    fn bind_quic(
        &self,
        _local_addr: SocketAddr,
        _server_addr: SocketAddr,
    ) -> Result<Arc<dyn AsyncUdpSocket>, Error>;
}
Expand description

Create a UDP socket for QUIC usage. This trait is designed for customization.

Required Methods§

source

fn bind_quic( &self, _local_addr: SocketAddr, _server_addr: SocketAddr, ) -> Result<Arc<dyn AsyncUdpSocket>, Error>

Create a UDP socket for QUIC usage.

Implementors§