Trait ProxySelector
pub trait ProxySelector<Input> {
// Required method
fn is_proxied(&self, input: &Input) -> bool;
}Available on crate feature
net only.Expand description
Decides which side of a MaybeProxiedConnector serves an input.
Required Methods§
fn is_proxied(&self, input: &Input) -> bool
fn is_proxied(&self, input: &Input) -> bool
Whether the proxy connector serves input, rather than the direct one.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".