Enum doh_client::RemoteHost [−][src]
pub enum RemoteHost {
Direct(String, u16),
Socks5(String, u16, Option<(String, String)>, Vec<SocketAddr>),
Socks5h(String, u16, Option<(String, String)>, String, u16),
HttpProxy(String, u16, Option<(String, String)>, String, u16),
HttpsProxy(String, u16, Option<(String, String)>, String, u16, Arc<ClientConfig>, String),
}Variants
Direct(String, u16)
Socks5(String, u16, Option<(String, String)>, Vec<SocketAddr>)
Socks5h(String, u16, Option<(String, String)>, String, u16)
HttpProxy(String, u16, Option<(String, String)>, String, u16)
HttpsProxy(String, u16, Option<(String, String)>, String, u16, Arc<ClientConfig>, String)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Host
impl !UnwindSafe for Host
Blanket Implementations
Mutably borrows from an owned value. Read more
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
