Trait trust_dns_proto::udp::QuicLocalAddr

source ·
pub trait QuicLocalAddr {
    // Required method
    fn local_addr(&self) -> Result<SocketAddr>;
}
Expand description

To implement quinn::AsyncUdpSocket, we need our custom socket capable of getting local address.

Required Methods§

source

fn local_addr(&self) -> Result<SocketAddr>

Get local address

Implementations on Foreign Types§

source§

impl QuicLocalAddr for UdpSocket

Implementors§