Enum shadowsocks_service::config::DnsConfig
source · [−]pub enum DnsConfig {
System,
TrustDns(ResolverConfig),
LocalDns(NameServerAddr),
}
Variants
System
TrustDns(ResolverConfig)
LocalDns(NameServerAddr)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DnsConfig
impl !UnwindSafe for DnsConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more