Skip to main content

ProxiedQuicLeg

Trait ProxiedQuicLeg 

Source
pub trait ProxiedQuicLeg<U> {
    type Proxied;

    // Required method
    fn with_connect_udp(
        self,
        connect_udp: U,
        scope: &WeakScope,
    ) -> Self::Proxied;
}
Available on crate features dns and http-backend and http and std and tcp only.
Expand description

A QUIC leg the proxy stage can put CONNECT-UDP (RFC 9298) next to, the way it puts SOCKS5 and CONNECT next to the TCP leg: (), no QUIC leg, stays without one.

Required Associated Types§

Required Methods§

Source

fn with_connect_udp(self, connect_udp: U, scope: &WeakScope) -> Self::Proxied

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<U> ProxiedQuicLeg<U> for ()

Source§

type Proxied = ()

Source§

fn with_connect_udp(self, _: U, _: &WeakScope) -> Self::Proxied

Implementors§