Enum shadowsocks_service::config::ProtocolType
source · [−]pub enum ProtocolType {
Socks,
Http,
Tunnel,
Redir,
Dns,
}
Expand description
Protocol of local server
Variants
Socks
Http
Tunnel
Redir
Dns
Implementations
Get all available protocols
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProtocolType
impl Send for ProtocolType
impl Sync for ProtocolType
impl Unpin for ProtocolType
impl UnwindSafe for ProtocolType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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