Trait shadowsocks_service::local::net::AutoProxyIo
source · [−]pub trait AutoProxyIo {
fn is_proxied(&self) -> bool;
fn is_bypassed(&self) -> bool { ... }
}
Expand description
Proxy I/O chooses bypass or proxy automatically
Required methods
fn is_proxied(&self) -> bool
fn is_proxied(&self) -> bool
Check if the current connection is proxied
Provided methods
fn is_bypassed(&self) -> bool
fn is_bypassed(&self) -> bool
Check if the current connection is bypassed