Skip to main content

ProxySelector

Trait ProxySelector 

Source
pub trait ProxySelector:
    Send
    + Sync
    + 'static {
    // Required method
    fn select(&self, uri: &Uri) -> Result<ProxySelection, WireError>;
}
Expand description

Resolves the proxy configuration to use for a request URI.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> ProxySelector for Arc<T>
where T: ProxySelector + ?Sized,

Implementors§